... The following will fold commented lines,including pre- and succeeding empty ones. All it needs is a correct syntax plugin. This can be slow, as noted at...
A.Politz
politza@...
Jan 1, 2008 8:58 am
86162
... fde=IsComment(v:lnum)?1:IsComment(prevnonblank(v:lnum-1))?1:IsComment(nextnonblank(v:lnum+1))?1:0 ... Added '[+-]1' to '*nonblank', which is what I...
A.Politz
politza@...
Jan 1, 2008 9:12 am
86163
... This might be a good place for the '%!' operator. ... hi User1 ctermbg=DarkCyan ctermfg=Black gui=Bold guibg=DarkBlue guifg=White au BufNewFile,BufRead *...
A.Politz
politza@...
Jan 1, 2008 10:54 am
86164
... bashism ahead! Protect the innocent! You can fake a multiline comment in bash-scripts. Use a "here script", which is defined as command << token content to...
Martin Lange
m.lange@...
Jan 1, 2008 11:27 am
86165
... I tried to come up with such a custom intro. The biggest flaw maybe is, that I have not found a way to avoid wasting a bufnumber. I think the most of it is...
A.Politz
politza@...
Jan 1, 2008 12:50 pm
86166
... LOL. What fun. Of course, the downside of most of the approaches everyone has mentioned is that they need the user to do work while writing the file. Nicer...
Ben Schmidt
mail_ben_schmidt@...
Jan 1, 2008 12:53 pm
86167
... I just noticed, that this is wrong and the first solution is correct. I was to busy looking at the performance. -ap -- Ich hab geträumt, der Krieg wär...
A.Politz
politza@...
Jan 1, 2008 1:22 pm
86168
... Ok, here is a working and faster version. ... set fdm=expr set fde=FoldComments(v:lnum) func! FoldComments( lnum ) if getline('.') =~ '\S' return...
A.Politz
politza@...
Jan 1, 2008 1:31 pm
86169
...after this discussion it seems that folding all comments isn't so basic operation and requires some special work. Thank you all very much for rich answer....
arctgx
ural.b142@...
Jan 2, 2008 1:14 am
86170
In C source file we always expand table (set expandtab) , but how can we confirm if all TAB character has been expanded. Can we make TAB to be a visible...
AkGw
alickguo@...
Jan 2, 2008 3:04 am
86171
... The listchars setting is also relevant. See ... Smiles, Ben. Send instant messages to your online friends http://au.messenger.yahoo.com ...
Ben Schmidt
mail_ben_schmidt@...
Jan 2, 2008 3:16 am
86172
... See my earlier reply about making them visible. But there are some other things you could try: 1. searching for tabs with the / command. In normal mode do ...
Ben Schmidt
mail_ben_schmidt@...
Jan 2, 2008 3:19 am
86173
... It sounds like you're looking for ... (and ":set nolist" to turn it off, or ":set list!" to toggle it) You may also be interested in the 'listchars'...
Tim Chase
vim@...
Jan 2, 2008 3:20 am
86174
On Jan 2, 2008 1:19 AM, Tim Chase <vim@...> wrote:
> :set list
> :help 'list'
> :help 'listchars'
On Jan 2, 2008 1:16 AM, Ben Schmidt...
Kazuo Teramoto
kaz.rag@...
Jan 2, 2008 5:12 am
86175
... You already have many good answers. Searching is very simple with 3 keystrokes: /<tab><enter> If you find one, replace it with: r<space> Look for the next...
Bill McCarthy
WJMc@...
Jan 2, 2008 6:02 am
86176
... I am jumping into this discussion late, but I too am a Java Developer, and I had always wondered why certain words were flagged as errors. I had never...
Victor Cardona
v.cardona@...
Jan 2, 2008 6:11 am
86177
I know it is a little off topics but both seem to be in same category and I dont wanna open a new topic. Thus,... I'm using version 6.2, and recently just...
Leah
Lea0x.Diz@...
Jan 2, 2008 7:38 pm
86178
... In addition to :set list, which others have already mentioned, there's SeeTab.vim (http://vim.sourceforge.net/scripts/script.php?script_id=628) which makes...
Charles E Campbell Jr
drchip@...
Jan 2, 2008 7:41 pm
86179
... I think your vim version is simply not supported by this plugins ( to old ). You could check the requirement fields on the vim.org site or look in the...
A.Politz
politza@...
Jan 2, 2008 8:15 pm
86180
... I'm afraid that I haven't gotten any feedback about this fix -- has anyone tried it yet? Happy New Year! Chip Campbell ...
Charles E Campbell Jr
drchip@...
Jan 2, 2008 10:07 pm
86181
... I just tried the following test using vimball v24d (available from http://mysite.verizon.net/astronaut/vim/index.html#VIMBALL): (made plugin/junkPlugin.vim...
Charles E Campbell Jr
drchip@...
Jan 2, 2008 10:24 pm
86182
Hello We downloaded the GUI version of vim. But when we install it we get a simple application window and not the one with a gui that would have the pull down...
Bhatia, Sundeep
sundeep.bhatia@...
Jan 3, 2008 1:48 am
86183
... - Looks like your screen shot got lost. Can you upload it somewhere and send a URL? - When you do "vim --version" from the shell (or from cmd.exe on...
Tony Mechelynck
antoine.mechelynck@...
Jan 3, 2008 2:02 am
86184
Hi, ... The MRU plugin uses the ":redir" command to generate the MRU file. Before echoing the filenames to the MRU file, the status line is cleared by echoing...
Yegappan Lakshmanan
yegappanl@...
Jan 3, 2008 2:56 am
86185
Hi guys, is there anyway to override a syntax keyword definitions with with a syntax match definition? I know the documentation explicitly states that the...
Ali
Caffein@...
Jan 3, 2008 5:40 am
86186
Hi Dash, Excellent script and (at least for me) also a chance to learn/understand some (vim) base scripting, so many thanks. ... Additionally, I created the...
Ag. D. Hatzimanikas
a.hatzim@...
Jan 3, 2008 5:58 am
86187
hello vimmers, I just wanna ask if there is a way that I can use a separate file to use as pattern for auto completion. But I don't want to open this file. tnx...
Normandie Azucena
Normandie.Q.Azucena@...
Jan 3, 2008 7:50 am
86188
I browsed vim.org and somebody said that vim 7.0 had a native spell checker. how do I use this? tnx --~--~---------~--~----~------------~-------~--~----~ You...
Normandie Azucena
Normandie.Q.Azucena@...
Jan 3, 2008 10:56 am
86189
... For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---
:help spell will give you lot of...
Mathieu Clabaut
mathieu.clabaut@...
Jan 3, 2008 11:57 am
86190
here is the link: http://groups.google.com/group/vim_use/browse_thread/thread/2fc77bbeec9fe948/040c6f34f519767e ...