Re: VimWin

2007-04-23 Thread Matthew Winn
On Sun, 22 Apr 2007 21:48:58 +0200, "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote: > - virtual desktops. This may need some explaining to Windows-only people: On > Windows there is one desktop, period. On X11, at least with some window > managers, you may have up to 20 virtual desktops (you choose

Re: VimWin

2007-04-23 Thread A. S. Budden
On 23/04/07, Matthew Winn <[EMAIL PROTECTED]> wrote: On Sun, 22 Apr 2007 21:48:58 +0200, "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote: > - virtual desktops. This may need some explaining to Windows-only people: On > Windows there is one desktop, period. On X11, at least with some window > managers

Re: eterm and vim

2007-04-23 Thread J. Erik Heinz
Hi, A.J.Mechelynck <[EMAIL PROTECTED]> words on 23.04.2007 - 03:08 (+0200 Zulu-Time): > J. Erik Heinz wrote: > > > >A.J.Mechelynck <[EMAIL PROTECTED]> words > > on 12.03.2007 - 08:30 (+0100 Zulu-Time): > > > >>Simon Jackson wrote: > >>Open Console Vim with an empty [No Name] buffer,

Re: Gvim File Explorer error

2007-04-23 Thread list
After upgrading I now get Error detected while processing function MenuExplOpen: line4: E316: ml_get: cannot find line 9 Press ENTER or type command to continue E316: ml_get: cannot find line 9 Error detected while processing function 15_Highlight_Matching_Pair: line 17: E316: ml_get: canno

Re: VimWin

2007-04-23 Thread Bernd Strohhäcker
A. S. Budden schrieb: On 23/04/07, Matthew Winn <[EMAIL PROTECTED]> wrote: On Sun, 22 Apr 2007 21:48:58 +0200, "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote: > - virtual desktops. This may need some explaining to Windows-only people: On > Windows there is one desktop, period. On X11, at least w

Re: VimWin

2007-04-23 Thread Zhichao Hong
The best virtual window manager I have used is VirtuaWin(http://virtuawin.sourceforge.net/). It is lightweight and have a plugin architecture. I have tried Virtual Dimension. But I still prefer the VirtuaWin for some reasons I don't remember. If you really need a *NIX l&f, you can try the bble

problem with repeat and point (.)

2007-04-23 Thread Christian Anthon
The following is the result of doing i1.1. 1.1 1¬1 that is inserting 1.1 and a newline, and then repeating. For some strange reason the . isn't repeated as it should be. I'm running the text version of vim in a gnome terminal on fedora core 6 using utf-8. Any ideas how to fix this? Christian

Re: problem with repeat and point (.)

2007-04-23 Thread Tim Chase
The following is the result of doing i1.1. 1.1 1¬1 that is inserting 1.1 and a newline, and then repeating. For some strange reason the . isn't repeated as it should be. I'm running the text version of vim in a gnome terminal on fedora core 6 using utf-8. I don't get the behavior you describ

Re: problem with repeat and point (.)

2007-04-23 Thread Christian Anthon
Turned out to be a problem with the vimspell plugin. Deleted that and it worked. Thanx, Christian.

blank line at end of file

2007-04-23 Thread Vlad GURDIGA
Hello! I use vim7 on Win32 and every time I save a file, vim adds a new blank (CR+LF) line at the end of the file although it is not visible when in vim. Is there an option to disable this behaviour? Thanks!

Re: blank line at end of file

2007-04-23 Thread Tim Chase
I use vim7 on Win32 and every time I save a file, vim adds a new blank (CR+LF) line at the end of the file although it is not visible when in vim. Is there an option to disable this behaviour? yes, there is a way to break expectations :) The problem is that if you don't have a terminal newline

open remote file in vim/gvim

2007-04-23 Thread ben lieb
This might have been discussed before, but how can I open a file remotely in vim? Via, ftp, ssh, etc.

Re: open remote file in vim/gvim

2007-04-23 Thread Zhaojun WU
Hi, Ben, I think netrw [ http://www.vim.org/scripts/script.php?script_id=1075 ] is what you want, although, personally, I haven't used it so far 'cause I am used to edit a file after SSH login. :-) HTH, Zhaojun On 4/23/07, ben lieb <[EMAIL PROTECTED]> wrote: This might have been discussed bef

RE: wish: collaboration of N vim instances editing same file

2007-04-23 Thread Gene Kwiecinski
>>I can't think of any valid reason why one lonely user - me for instance >>- would want to fire up several instances of vim to edit the same file. >It can be. For example, in LNX user can edit file in text console, >then switch to X11 and then start editor again to edit the same file, >forgetting

What plugin is the one that does the following ...

2007-04-23 Thread Andrew Falanga
Hi, I'm doing some reading on vim.org in the documentation areas and found that the ability to browse a directory from within a buffer is actually accomplished by plugins rather than being built into the vim binary. I didn't know this. So, what plugin is it that accomplishes what is referenced

Re: wish: collaboration of N vim instances editing same file

2007-04-23 Thread Yakov Lerner
On 4/23/07, Gene Kwiecinski <[EMAIL PROTECTED]> wrote: >>I can't think of any valid reason why one lonely user - me for instance >>- would want to fire up several instances of vim to edit the same file. >It can be. For example, in LNX user can edit file in text console, >then switch to X11 and t

RE: wish: collaboration of N vim instances editing same file

2007-04-23 Thread Gene Kwiecinski
>>I'd be seriously uncomfortable with that as a "feature". Imagine >>absentmindedly editing the same file 2x or more. Make some changes in >>one instance, make different changes in another instance, save/quit the >>first, save/quit the second, trash all the edits made in the first >>instance. >I

Re: open remote file in vim/gvim

2007-04-23 Thread Charles E Campbell Jr
ben lieb wrote: This might have been discussed before, but how can I open a file remotely in vim? Via, ftp, ssh, etc. vim ftp://host/path/to/file vim scp://host/path/to/file Both of these use the netrw plugin, BTW. Both may ask you for passwords, although one can work around that requir

Re: What plugin is the one that does the following ...

2007-04-23 Thread Charles E Campbell Jr
Andrew Falanga wrote: I'm doing some reading on vim.org in the documentation areas and found that the ability to browse a directory from within a buffer is actually accomplished by plugins rather than being built into the vim binary. I didn't know this. So, what plugin is it that accomplishes

Re: What plugin is the one that does the following ...

2007-04-23 Thread Taylor Venable
On Mon, 23 Apr 2007 09:27:18 -0600 "Andrew Falanga" <[EMAIL PROTECTED]> wrote: > I'm doing some reading on vim.org in the documentation areas and found > that the ability to browse a directory from within a buffer is > actually accomplished by plugins rather than being built into the vim > binary.

Re: turning arbitrary word change into substitution

2007-04-23 Thread Yakov Lerner
On 4/22/07, Tim Chase <[EMAIL PROTECTED]> wrote: > Is it possible to do the following, or maybe some plugin > already exist. If not, how would I script it. Let's say I have > some long identifier EXPECTED_GCONFIG scattered around the > file. I put cursor after _ and change it to EXPECTED_CONTENTS

sh.vim - Syntax Highlighting Issues

2007-04-23 Thread George
I'd like to get the 'sh' filetype syntax highlighting working on FreeBSD. The following (supported) constructs, for example, show as errors. -- #!/bin/sh # Parameter Expansion: SCRIPTNAME=${0##*/} # Command Substitution: COMMAND=$(echo 'What is t

Re: [OT] Toolbars in Windows

2007-04-23 Thread Gary Johnson
On 2007-04-22, Suresh Govindachar <[EMAIL PROTECTED]> wrote: > In the thread titled VimWin, Gary Johnson recently wrote: > > [snip] > > Plus, KDE allows me to put menus of often-used programs > > in the task bar. The Windows Quick Launch menu is > > similar, but there's only one of them s

Re: Filename completion with all directories in 'path'?

2007-04-23 Thread Ben Kovitz
On Apr 19, 2007, at 7:12 PM, Jean-Rene David wrote: Is there a way to make filename completion (pressing tab at the command line in :find) use all the directories in the 'path'? Not exactly what you ask, but here is a nice little script I use quite a bit which you might find helpful: http://w

Changing directory on start-up

2007-04-23 Thread Ben Kovitz
Hi, folks. For some reason, gvim 7.0 running on Cygwin on my system cd's to the directory that contains the file I'm editing. Does anyone know what's causing that or how I can turn if off? In more detail, what happens is this. I type something like: vi /some/other/dir/filename at the comm

Re: What plugin is the one that does the following ...

2007-04-23 Thread Andrew Falanga
On 4/23/07, Taylor Venable <[EMAIL PROTECTED]> wrote: Do you mean the ability to "edit" a directory and read its contents? yes > The documentation says that it's distributed with vim. However, I > installed vim using the FreeBSD ports system on my FreeBSD system and > this pluglin, apparen

Re: Changing directory on start-up

2007-04-23 Thread Tim Chase
cd's to the directory that contains the file I'm editing. Does anyone know what's causing that or how I can turn if off? In more detail, what happens is this. I type something like: vi /some/other/dir/filename at the command line, and then when I'm in gvim, if I type: :pwd I get: /

Re: sh.vim - Syntax Highlighting Issues

2007-04-23 Thread Charles E Campbell Jr
George wrote: I'd like to get the 'sh' filetype syntax highlighting working on FreeBSD. The following (supported) constructs, for example, show as errors. Read :help sh.vim and set one of the variables mentioned there in your <.vimrc>. Regards, Chip Campbell

Re: What plugin is the one that does the following ...

2007-04-23 Thread Gary Johnson
On 2007-04-23, Andrew Falanga <[EMAIL PROTECTED]> wrote: > On 4/23/07, Taylor Venable <[EMAIL PROTECTED]> wrote: > > > > Do you mean the ability to "edit" a directory and read its contents? > > yes > > > > > > The documentation says that it's distributed with vim. However, I > > > installed vi

Re: What plugin is the one that does the following ...

2007-04-23 Thread Andrew Falanga
On 4/23/07, Gary Johnson <[EMAIL PROTECTED]> wrote: On 2007-04-23, Andrew Falanga <[EMAIL PROTECTED]> wrote: > On 4/23/07, Taylor Venable <[EMAIL PROTECTED]> wrote: > > > > Do you mean the ability to "edit" a directory and read its contents? > > yes > > > > > > The documentation says that it's

Re: sh.vim - Syntax Highlighting Issues

2007-04-23 Thread George
On Mon, Apr 23, 2007 at 03:23:34PM -0400, Charles E Campbell Jr wrote: > George wrote: > > > I'd like to get the 'sh' filetype syntax highlighting working on > > FreeBSD. The following (supported) constructs, for example, show as > > errors. > > Read :help sh.vim > > and set one of the variab

Re: turning arbitrary word change into substitution

2007-04-23 Thread Arun Easi
How about the U operation to get the original word and redo U to get back to the current. This will mapp F3, modify according to your needs (add \< and \> etc) nn UyiwU:%s/"//g OR to save the :s for subsequent use, nn UyiwU:.s/"//e regards, -Arun On Sun, 22 Apr 2007, Yakov Lerner wrote:

search vs closed folds

2007-04-23 Thread Yakov Lerner
When I search and I have closed folds, vim will automatically open the closed fold if next match is in the closed fold. Is there setting to disable this auto-opening ? Not to open the closed fold when searching ? Yakov

Re: turning arbitrary word change into substitution

2007-04-23 Thread Yakov Lerner
On 4/23/07, Arun Easi <[EMAIL PROTECTED]> wrote: How about the U operation to get the original word and redo U to get back to the current. This will mapp F3, modify according to your needs (add \< and \> etc) nn UyiwU:%s/"//g OR to save the :s for subsequent use, nn UyiwU:.s/"//e Thanks, t

Re: search vs closed folds

2007-04-23 Thread Georg Dahn
When I search and I have closed folds, vim will automatically open the closed fold if next match is in the closed fold. Is there setting to disable this auto-opening ? Not to open the closed fold when searching ? You may want to add set foldopen-=search to your vimrc file. Just read :h 'foldo

:sp tab completion

2007-04-23 Thread Jack Eidsness
My question is easiest to describe in terms of bash. When you're using a plain bash configuration (plain, or maybe its common configuration for most linux distros), and try to open a file at the command line using tab for autocompletion, like this: [ /etc ]$ vim rc.(tab) rc.drc.local

Re: Multiple commands.

2007-04-23 Thread Gary Johnson
On 2007-04-22, "John R. Culleton" <[EMAIL PROTECTED]> wrote: > I want to activate a whole string of substitute commands by a single F > key, perhaps 6 or 8. Can I call a script from an F key? How? > > Alternatively, can I string them together in a line or multiple lines > in gvimrc? How? > > I

how to determine what filetype vim is using

2007-04-23 Thread Andrew Falanga
Hi again, I've finally found the answer to the indenting problems I was having. I found that the indenting I was used to is present if I start "cindent" in my .vimrc file. However, now I've got a problem. When I have the starting for all files, when I edit TCL scripts, the indenting behavior is

Re: how to enable mouse in vim of cygwin

2007-04-23 Thread Gary Johnson
On 2007-04-23, sun <[EMAIL PROTECTED]> wrote: > > If it's a Cygwin build, you may need to make sure that Cygwin can get mouse > > actions (which may need running the gpm daemon, or something) and that Vim > > has > > the corresponding feature (such as +mouse_gpm or +mouse_xterm) compiled-in. > >

Re: how to determine what filetype vim is using

2007-04-23 Thread Yakov Lerner
On 4/24/07, Andrew Falanga <[EMAIL PROTECTED]> wrote: Hi again, I've finally found the answer to the indenting problems I was having. I found that the indenting I was used to is present if I start "cindent" in my .vimrc file. However, now I've got a problem. When I have the starting for all fi

RE: wish: collaboration of N vim instances editing same file

2007-04-23 Thread Peter Hodge
Hello, Couldn't the 'patch' command do this? E.g., Vim#1 has made some changes to example.c (but not saved them), and Vim#2 makes some different changes and saves them. Vim#1 sees that example.c has changed, and makes a diff between the new example.c and what it originally was, and also makes a

Re: What plugin is the one that does the following ...

2007-04-23 Thread A.J.Mechelynck
Gary Johnson wrote: On 2007-04-23, Andrew Falanga <[EMAIL PROTECTED]> wrote: On 4/23/07, Taylor Venable <[EMAIL PROTECTED]> wrote: Do you mean the ability to "edit" a directory and read its contents? yes The documentation says that it's distributed with vim. However, I installed vim using

Re: how to determine what filetype vim is using

2007-04-23 Thread A.J.Mechelynck
Yakov Lerner wrote: On 4/24/07, Andrew Falanga <[EMAIL PROTECTED]> wrote: Hi again, I've finally found the answer to the indenting problems I was having. I found that the indenting I was used to is present if I start "cindent" in my .vimrc file. However, now I've got a problem. When I have th

Re: :sp tab completion

2007-04-23 Thread A.J.Mechelynck
Jack Eidsness wrote: My question is easiest to describe in terms of bash. When you're using a plain bash configuration (plain, or maybe its common configuration for most linux distros), and try to open a file at the command line using tab for autocompletion, like this: [ /etc ]$ vim rc.(tab)

Re: -----how can i unsubscribe the vim alias

2007-04-23 Thread A.J.Mechelynck
Mimi Tam wrote: Hi, Do you know what is the administrator email for the vim@vim.org alias? I received emails sent by others to this alias fine, but I can't seem to be able to send emails to this alias to ask question myself. I never see them posted and I never got any replies to my questions.

Lost in Space -- extended approach

2007-04-23 Thread meino . cramer
Hi, A similiar problem I had was solved previously. Now I got stuck in the "advanced version" of this. Suppose I have the following text (:set list) : ljdh $ laskjdl $ sdj $ aslkdjldjlad$ a $ askdj $ askdjlsd $ aks $ lkasjdsdjjadl $ and

Re: Lost in Space -- extended approach

2007-04-23 Thread Gary Johnson
On 2007-04-24, [EMAIL PROTECTED] wrote: > Hi, > > A similiar problem I had was solved previously. Now > I got stuck in the "advanced version" of this. Suppose > I have the following text (:set list) : > > > ljdh $ > laskjdl $ > sdj $ > aslkdjldjlad$ > a $ > askdj