remote editing and spell list sync

2007-05-19 Thread Eric Smith
I use remote editing a lot (rsync protocol) and want to keep the spelling lists on both machines always synchromised. Is the best way with unison(1) or suchlike or is there a better way? -- Eric Smith

Netrw edit file

2007-05-19 Thread Eric Smith
When I am in vim, I can edit a file after selecting form the explorer, however I can only :read a file if I use Nread How do I :edit from within vim? -- Eric Smith

automatically enter normal mode

2007-05-08 Thread Eric Smith
I want a vim left in insert mode after n seconds of inactivity to automatically go into normal mode and tried: au CursorHoldI * Esc But this gives an error. How? -- Eric Smith

Re: automatically enter normal mode

2007-05-08 Thread Eric Smith
On 08/05/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: In an autocommand, you need an ex-command, which Esc isn't. I suggest :au CursorHoldI * stopinsert Make sure 'updatetime' has a long enough value (the default is 4000, i.e., 4 seconds, which might be a little short for some people).

automatically save to filename

2007-03-21 Thread Eric Smith
I know that you can set the interval to auto-save to the swap file but how do I automatically save to the named file itself every n seconds? Thanks -- Eric Smith

tar all files in buffer preserving path

2006-11-22 Thread Eric Smith
I want to make a tar file that includes the full pathname. When I go :bufdo ! tar -vrf archive_with_full_path.tar % The `%' does not expand the full path so I do not get the path information into the tar file. How could I best achieve what I want? -- Eric Smith

Calling COM Components from Vim (Win32)

2006-10-14 Thread Eric Smith
Hi, I've scanned the vim-dev archives looking for any suggestions for and/or attempts at creating a means of calling dual-interface COM objects from within the Win32 version of Vim, and come up empty. IMHO, this would be a useful feature for extending Vim script to do some very powerful

Re: syntax highlighting - a separate colour for each word

2006-10-12 Thread Eric Smith
in the file can be in thousands. What do you do when number of words number of colors ? Its not prose, so there are not that many unique words. You could specify that the script processes only the first n words. -- Eric Smith

syntax highlighting - a separate colour for each word

2006-10-11 Thread Eric Smith
Like I want all instances of a word in a file to have its own color. Amy one done something like that? -- Eric Smith

Re: syntax highlighting - a separate colour for each word

2006-10-11 Thread Eric Smith
Smith [EMAIL PROTECTED] wrote: Like I want all instances of a word in a file to have its own color. Amy one done something like that? Like this : match ToDo /\word\/ ? Yakov Or else, did you mean as many colors as there are different words in the file ? Yakov -- Eric Smith

Re: adding first part to input()

2006-10-08 Thread Eric Smith
of completion to use. Valid values (which -- Eric Smith

server not dound with aap update

2006-10-08 Thread Eric Smith
Anyone else experience this: cvs [checkout aborted]: connect to cvs.sf.net(66.35.250.207):2401 failed: No route to host Aap: Error in recipe /home/eric/VIM/main.aap line 38: fetch failed for ['vim7'] -- Eric Smith

number of folds in foldtext

2006-10-08 Thread Eric Smith
Is it possible for foldtext to show the number of the fold block. For example there are n paragraphs in a document and folding is by expression defined as a blank line. I want the number of the paragraph to show in the foldtext. Thanks -- Eric Smith

bufdo search stop at first match

2006-10-07 Thread Eric Smith
I am using the following to search all buffers for foo. b1|bufdo exec search(foo , flags) This stops at the last match. How do I stop at the first match? thanx -- Eric Smith

adding first part to input()

2006-10-07 Thread Eric Smith
^ cursor The set_ will be added to whatever I type at the cursor. Thanks -- Eric Smith

Making vim fast

2006-09-25 Thread Eric Smith
of performance. Would reverting to 6.4 help? Thanks a lot. -- Eric Smith

test if insert mode

2006-07-18 Thread Eric Smith
How do I implement a conditional to test if in insert or normal mode? Thanks -- Eric Smith

Re: turning on vim spell in xml documents

2006-07-07 Thread Eric Smith
] wrote: On Thu, Jul 06, 2006 at 10:00:27AM +0200, Eric Smith wrote: How? If you want to set the 'spell' option, or make other customizations, when editing xml files, the recommended method is to create a personal ftplugin file for xml, usually $HOME/.vim/ftplugin/xml.vim (creating