Re: automatic code completion in vim

2007-01-01 Thread Mikolaj Machowski
On pon sty 1 2007, Mikolaj Machowski wrote: Note: much faster, noticeable on big files, would be reading of tags file into buffer and just g//d proper lines and add tags at the end how to read tags into the buffer and what does g//d proper lines mean? :new somename :g/\t{filename}\t/d

Re: automatic code completion in vim

2007-01-01 Thread A.J.Mechelynck
Mikolaj Machowski wrote: Dnia pon sty 1 2007, napisałeś: remove() doesn't accept regexps only indexes. To remove offending lines use filter():: call filter(alltags, v:val !~ fname) I've made some tests and on big tags files it can be slow. The fastest method is:: let alltags

Re: Enclosing current line in HTML tags

2007-01-01 Thread Alan G Isaac
On Sun, 31 Dec 2006, Robert MannI apparently wrote: What's the quickest way to enclose the current line the cursor is on in, say, li/li tags? Here's one approach: http://www.american.edu/econ/notes/html_xhb.vim hth, Alan Isaac

Re: automatic code completion in vim

2007-01-01 Thread Mikolaj Machowski
On pon sty 1 2007, Mikolaj Machowski wrote: This won't work: you need a different variable name, see :help E706. Yeah, I forgot (not only about that). This is complete solution:: function! UpdateTags() call writefile(getline(1, '$'), '.tmp.cc', 'b') let tags =

cvim

2007-01-01 Thread spx2
hello. i just installed cvim but \lcs and \ucs work perfectly but \ce or \cn or any other \xx stuff or \xxx stuff don't work at all. what do i do ? -- View this message in context: http://www.nabble.com/cvim-tf2905788.html#a8117987 Sent from the Vim - General mailing list archive at Nabble.com.

Re: cvim

2007-01-01 Thread A.J.Mechelynck
spx2 wrote: hello. i just installed cvim but \lcs and \ucs work perfectly but \ce or \cn or any other \xx stuff or \xxx stuff don't work at all. what do i do ? What is cvim? Best regards, Tony.

Re: cvim

2007-01-01 Thread Fritz Mehner
spx2 schrieb: hello. i just installed cvim but \lcs and \ucs work perfectly but \ce or \cn or any other \xx stuff or \xxx stuff don't work at all. what do i do ? Please check if plugins can be loaded: :filetype You should see filetype detection:ON plugin:ON indent:ON If not add a line

Re: [PATCH] count for CR in quickfix window

2007-01-01 Thread Mikolaj Machowski
Dnia pon sty 1 2007, AOYAMA Shotaro napisał: Hi, Here is a small patch for specifying a window in which vim opens an error when you hit ENTER in a quickfix window. With this patch, you may hit 3CR in the quickfix window, then the selected error is displayed in the window #3. Often I face a