... To go to the 2nd occurrence from the cursor, you can use 2/home (or 2/\<home92;> if you want to exclude "homeless" etc.) but all occurrences will be...
75915
Chuck Mason
cmason@...
Dec 1, 2006 8:36 am
Am I the only one amused that /home<CR>n does nearly the same thing? I mean, I suppose you could be doing operations on your search but couldn't you equally...
75916
A.J.Mechelynck
antoine.mechelynck@...
Dec 1, 2006 9:27 am
... I'm not talking about the programs produced by the MinGW-for-Cygwin compiler and linker (gcc compiler with -mno-cygwin and gcc linker with -mwindows), ...
75917
Vigil
vim5632@...
Dec 1, 2006 9:57 am
This could be construed as one command: %s/e/EEE/g | %s/a/AAA/g ... -- ....
75918
A.J.Mechelynck
antoine.mechelynck@...
Dec 1, 2006 10:31 am
... He gave it. In the above case, you highlight not only the 2nd occurrence but also the 4th, 6th, etc. Best regards, Tony....
75919
Vigil
vim5632@...
Dec 1, 2006 10:36 am
... Date: Fri, 1 Dec 2006 11:05:48 +0100 From: Tanoor Dieng <newstanoor@...> To: Vigil <vim5632@...> Subject: Re: multiples search and replace...
75920
zzapper
david@...
Dec 1, 2006 11:20 am
"A.J.Mechelynck" <antoine.mechelynck@...> wrote in ... /^.\{-}home.\{-}92;zshome/e Was the solution I was looking for (BTW the /e indicates where the match...
75921
Samuel Wright
lykoszine@...
Dec 1, 2006 12:42 pm
Hi All, Is it possible to invoke a function in vim automatically? I'd like to process a text file automatically. I *could* write an onload for the specific...
75922
Thomas
sanobast-vim@...
Dec 1, 2006 1:34 pm
... Something like: vim -c "call function()" -c qa! text_file or so?...
75923
Charles E Campbell Jr
drchip@...
Dec 1, 2006 1:34 pm
... Hello! Thank you for your suggestions -- as I mentioned, I'll be including a synopsis in netrw's help. Looks like there're four solutions: putty, openssh,...
75924
Charles E Campbell Jr
drchip@...
Dec 1, 2006 2:42 pm
... To generalize to the n-th occurrence: (put the qty of skipped matches in N) /^.\{-}92;%(home.\{-1,}\)92;{N}\zshome So, for the 2nd home: let N=1. Regards, ...
75925
DervishD
vim@...
Dec 1, 2006 3:03 pm
Hi all :) I would like to share the same .vimrc for "vim" and "view", so I can use "view" as a pager without having to use "-u" in the command line. So far,...
75926
Charles E Campbell Jr
drchip@...
Dec 1, 2006 3:16 pm
... I have the following in my <.vimrc>: nnoremap <silent> <space> :exe 'silent! normal! '.((foldclosed('.')>0)? 'zMzx' : 'zc')<cr> This map is useful...
75927
Charles E Campbell Jr
drchip@...
Dec 1, 2006 3:36 pm
... /^.\{-}92;%(home.\{-1,}\)92;{N}home.\{-}92;zs% where N is 1 for the "2nd occurrence" (N is 2 for the third occurrence, etc). This pattern matches up to and...
75928
mzyzik@...
Dec 1, 2006 4:17 pm
All, I am puzzled by a slightly more complicated version: how to match a '%' character following the 2nd occurrence of "home"? --Matt...
75929
Krall, Ed-P27726
Ed.Krall@...
Dec 1, 2006 6:11 pm
I have many file types mapped into GVIM: .txt, .lst, .cfg, and others. Go to Windows explorer ("my computer"), tools --> Folder Options, and select the File...
75930
zzapper
david@...
Dec 1, 2006 7:57 pm
Gary Johnson <garyjohn@...> wrote in ... Gary That's wonderful and super quick to set up Tried it in MSWORD and Pegasus Email I applied the patch...
75931
A.J.Mechelynck
antoine.mechelynck@...
Dec 1, 2006 8:18 pm
... [...] By "gvim" what is meant under Windows is the entry labeled "VI Improved - A Text Editor". Best regards, Tony....
75932
Ben K.
bkim@...
Dec 1, 2006 8:27 pm
Is there a way to make gf open "some.file" from this line? Include("/includes/some.file"); where the file is actually sitting under web server root, like ...
75933
Russell Bateman
russ@...
Dec 1, 2006 8:33 pm
I have had inexplicable and inconsistent trouble with Windoz doing this at least since back in version 98. It's infuriating....
75934
Jeffrey Robertson
jeffr@...
Dec 1, 2006 8:34 pm
That's just a different way into the same dialog box I used in the first place. It doesn't work for me. Although I can select gvim.exe, it doesn't actually...
75935
Jeffrey Robertson
jeffr@...
Dec 1, 2006 8:44 pm
No. That's my problem. How does gvim tell Windows to make itself an option in this list? ... From: Sean Plank [mailto:sapsolaris@...] Sent: Friday,...
75936
A.J.Mechelynck
antoine.mechelynck@...
Dec 1, 2006 8:59 pm
... The Cygwin distribution is made up of a large number of small packages which can be downloaded separately. You can opt for the large economy package with ...
75937
Charles E Campbell Jr
drchip@...
Dec 1, 2006 9:02 pm
... Try set encoding=utf-8 if "\xe4" == "\xe4" redraw! echo "equal!" else redraw! echo "not equal" endif Looks like your message is doing an unwanted...
75938
Yakov Lerner
iler.ml@...
Dec 1, 2006 9:05 pm
... Try to add /var/www/html/ into &path option, like set path+=/var/www/html Also can be that leading '/' in "/includes/some.file" makes vim believe this is...
75939
Aaron Griffin
aaronmgriffin@...
Dec 1, 2006 9:06 pm
... That's probably because autohotkey is scripted in some sort of bastardized visual basic and is therefore lame....
75940
mzyzik@...
Dec 1, 2006 9:14 pm
... This pattern doesn't work. Try it on this line: "home home home home home home% home" It should match nothing on that line, because the '%' doesn't follow...
75941
A.J.Mechelynck
antoine.mechelynck@...
Dec 1, 2006 9:19 pm
... [...] I'm not sure; I think it's something in the registry. Maybe the install program should do it. Have you installed Vim from Steve Hall's self-installer...
75942
Charles E Campbell Jr
drchip@...
Dec 1, 2006 9:50 pm
... But it *does* work! You didn't specify avoiding the % if matches to the home pattern intervened. Try ... and the following two lines: home % home home...
75943
Tim Chase
vim@...
Dec 1, 2006 9:59 pm
... Assuming you have "/var/www/html" in your path, the following pairing should help you out: nnoremap <silent> gf :exec 'e ' . ...