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 t

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.

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: 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 = sys

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, 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 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 alltag

Re: automatic code completion in vim

2007-01-01 Thread Mikolaj Machowski
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 = system('grep -v '.fn

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{filen