... Vim can jump to any line that it can count, the problem is having your external program generate the required number as a return code: IIRC, return codes...
106983
Christian Brabandt
cblists@...
Sep 1, 2009 7:31 am
Hi bill! ... set srr=">%s" ... regards, Christian -- It is illegal to rob a bank and then shoot at the bank teller with a water pistol. [real standing law in...
106984
Miao Jiang
jiangfriend@...
Sep 1, 2009 8:31 am
I want to write a function which do if the file is modified if there is 2 or more windows of that file exec 'e .' else split window exec 'e .' endif endif ...
106985
bill lam
cbill.lam@...
Sep 1, 2009 9:09 am
... Thanks, but when I tried to :set srr=">%s" in command mode, then verified :set srr? it returned ishellredir= instead of ">%s" -- regards, ...
106986
Johan Nylander
Johan.Nylander@...
Sep 1, 2009 9:16 am
Hi, I'm trying to highlight specific letters in words in a specific column. I have a file looking like this word_1 long_word_1 word_2 long_word_2 word_3...
106987
Tim Chase
vim@...
Sep 1, 2009 9:32 am
... You might try using the pattern \(^\w*\s\+\w*\)\@<=[Aa] as in syn match myA "\(^\w*\s\+\w*\)\@<=[aA]" which seems to do what you describe. -tim ...
106988
Christian Brabandt
cblists@...
Sep 1, 2009 9:38 am
... Sorry, you should enter: set srr=>%s regards, Christian -- ... --~--~---------~--~----~------------~-------~--~----~ You received this message from the...
106989
John Little
john.b.little@...
Sep 1, 2009 9:39 am
Hi Dr Chip sent me his v109 sh.vim to try, but... This handles my two line test case, but the OP's script is still not highlighted correctly; the line is eval...
106990
bill lam
cbill.lam@...
Sep 1, 2009 9:48 am
... Thank you for prompt reply. It works like a charm. -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg...
106991
John Beckett
johnb.beckett@...
Sep 1, 2009 9:54 am
The September edition of the Vim Tips home page is now available: http://vim.wikia.com/ The featured tip concerns the dreaded Caps Lock key and offers an...
106992
bill lam
cbill.lam@...
Sep 1, 2009 10:19 am
... Tony, you are correct. I don't why it seemed to work last time I tested. How can I store content of the current buffer and restore it in case of error?...
106993
Spencer Collyer
spencer@...
Sep 1, 2009 10:41 am
... mode. If there is a help window open already, use that one. Otherwise, if the current window uses the full width of the screen or is at least 80...
106994
Miao Jiang
jiangfriend@...
Sep 1, 2009 11:09 am
... solved. check file modified or not use &modified check window numbers of buffer I write a function. function GetWindowCount(expr) let...
106995
Aarto Matti
aarto.matti@...
Sep 1, 2009 11:26 am
Thank you guys, but that doesn't expand the variable. This solution uses Netrw and works only if my variable was a path. The point is not to execute the...
106996
Aarto Matti
aarto.matti@...
Sep 1, 2009 11:35 am
Yes, that's what I needed. Thanks again! ... --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For...
106997
Tim Chase
vim@...
Sep 1, 2009 11:35 am
... then try a variant of one of my suggestions (it removes one level ... all typed literally ("<" and ">" and "-" characters as shown) -tim ...
106998
Bu Rak
lokumcu@...
Sep 1, 2009 12:18 pm
Hi, Is there a way to highlight modified lines while editing a file? Burak --~--~---------~--~----~------------~-------~--~----~ You received this message from...
106999
Xian Chen
hoganxian@...
Sep 1, 2009 12:34 pm
set cursorlineset cursorcolumn ... --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more...
107000
Tim Chase
vim@...
Sep 1, 2009 12:36 pm
... I don't think there's any stand-alone way to do this, but you can use DiffOrig ... which allows you do diff the current buffer with the original file...
107001
Efraim Yawitz
efraim.yawitz@...
Sep 1, 2009 12:45 pm
... This only shows where the cursor is now, not the modified lines. --~--~---------~--~----~------------~-------~--~----~ You received this message from the...
107002
Christophe-Marie Duqu...
chm.duquesne@...
Sep 1, 2009 12:55 pm
Hi, I'm trying to write a function in vimscript that would toggle a value either to its default value, or to an other value. Here is what I wrote. " Toggles...
107003
Charles Campbell
Charles.E.Campbell@...
Sep 1, 2009 1:28 pm
... Hmm -- it seemed to work fine for me with but a single sourcing. However, the results I got were g:foo #1 g:foo #0 g:foo...
107004
Christophe-Marie Duqu...
chm.duquesne@...
Sep 1, 2009 1:35 pm
Yes, I'm answering my own mail : the function was already defined elsewhere (I had written a file in .vim/plugin/ where I wanted to define this function, and I...
107005
Aarto Matti
aarto.matti@...
Sep 1, 2009 1:56 pm
Sorry, maybe I should open a new topic, but it's relevant to this one also. How to do the same but without mapping to keyboard key. For instance I call my...
107006
Nathan Neff
nathan.neff@...
Sep 1, 2009 2:46 pm
... Sorry, I meant Patrick-Gen Paul. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more...
107007
Nathan Neff
nathan.neff@...
Sep 1, 2009 2:51 pm
... Thanks Glen -- I tried your colorscheme, and it looks a lot like mine. I'll go through the colors 1 by 1 when I have time -- in the meantime, I'll use your...
107008
Charles Campbell
Charles.E.Campbell@...
Sep 1, 2009 4:27 pm
... The hicolors plugin can help with this: http://mysite.verizon.net/astronaut/vim/index.html#HICOLORS (cutting edge) ...
107009
Tony Mechelynck
antoine.mechelynck@...
Sep 1, 2009 7:19 pm
... Rather than Ctrl-D, I would demonstrate 'wildmenu' (Tab) with a help topic. ":helpgrep" is essential indeed. ... hm. Never used :mkvimrc myself. My vimrc...
107010
Tony Mechelynck
antoine.mechelynck@...
Sep 1, 2009 7:42 pm
... Don't deride Turbo C, I used it on Dos and it already had a decent keyboard-driven editor, plus excellent syntax help on the C language, and it came with...
107011
Gene Kwiecinski
gkwiecinski@...
Sep 1, 2009 7:42 pm
... No disrespect intended, but *why* in B'Harni's Dark Name would you want to join >10000 lines into 1?!? Any 'vi' variant is a *line*-based editor, which...