... To go to the 2nd occurrence from the cursor, you can use 2/home (or 2/\<home\> if you want to exclude "homeless" etc.) but all occurrences will be...
A.J.Mechelynck
antoine.mechelynck@...
Dec 1, 2006 8:12 am
75915
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...
Chuck Mason
cmason@...
Dec 1, 2006 8:36 am
75916
... 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), ...
A.J.Mechelynck
antoine.mechelynck@...
Dec 1, 2006 9:27 am
75917
This could be construed as one command: %s/e/EEE/g | %s/a/AAA/g ... -- ....
Vigil
vim5632@...
Dec 1, 2006 9:57 am
75918
... He gave it. In the above case, you highlight not only the 2nd occurrence but also the 4th, 6th, etc. Best regards, Tony....
A.J.Mechelynck
antoine.mechelynck@...
Dec 1, 2006 10:31 am
75919
... Date: Fri, 1 Dec 2006 11:05:48 +0100 From: Tanoor Dieng <newstanoor@...> To: Vigil <vim5632@...> Subject: Re: multiples search and replace...
Vigil
vim5632@...
Dec 1, 2006 10:36 am
75920
"A.J.Mechelynck" <antoine.mechelynck@...> wrote in ... /^.\{-}home.\{-}\zshome/e Was the solution I was looking for (BTW the /e indicates where the match...
zzapper
david@...
Dec 1, 2006 11:20 am
75921
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...
Samuel Wright
lykoszine@...
Dec 1, 2006 12:42 pm
75922
... Something like: vim -c "call function()" -c qa! text_file or so?...
Thomas
sanobast-vim@...
Dec 1, 2006 1:34 pm
75923
... 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,...
Charles E Campbell Jr
drchip@...
Dec 1, 2006 1:34 pm
75924
... To generalize to the n-th occurrence: (put the qty of skipped matches in N) /^.\{-}\%(home.\{-1,}\)\{N}\zshome So, for the 2nd home: let N=1. Regards, ...
Charles E Campbell Jr
drchip@...
Dec 1, 2006 2:42 pm
75925
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,...
DervishD
vim@...
Dec 1, 2006 3:03 pm
75926
... I have the following in my <.vimrc>: nnoremap <silent> <space> :exe 'silent! normal! '.((foldclosed('.')>0)? 'zMzx' : 'zc')<cr> This map is useful...
Charles E Campbell Jr
drchip@...
Dec 1, 2006 3:16 pm
75927
... /^.\{-}\%(home.\{-1,}\)\{N}home.\{-}\zs% where N is 1 for the "2nd occurrence" (N is 2 for the third occurrence, etc). This pattern matches up to and...
Charles E Campbell Jr
drchip@...
Dec 1, 2006 3:36 pm
75928
All, I am puzzled by a slightly more complicated version: how to match a '%' character following the 2nd occurrence of "home"? --Matt...
mzyzik@...
Dec 1, 2006 4:17 pm
75929
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...
Krall, Ed-P27726
Ed.Krall@...
Dec 1, 2006 6:11 pm
75930
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...
zzapper
david@...
Dec 1, 2006 7:57 pm
75931
... [...] By "gvim" what is meant under Windows is the entry labeled "VI Improved - A Text Editor". Best regards, Tony....
A.J.Mechelynck
antoine.mechelynck@...
Dec 1, 2006 8:18 pm
75932
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 ...
Ben K.
bkim@...
Dec 1, 2006 8:27 pm
75933
I have had inexplicable and inconsistent trouble with Windoz doing this at least since back in version 98. It's infuriating....
Russell Bateman
russ@...
Dec 1, 2006 8:33 pm
75934
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...
Jeffrey Robertson
jeffr@...
Dec 1, 2006 8:34 pm
75935
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,...
Jeffrey Robertson
jeffr@...
Dec 1, 2006 8:44 pm
75936
... 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 ...
A.J.Mechelynck
antoine.mechelynck@...
Dec 1, 2006 8:59 pm
75937
... 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...
Charles E Campbell Jr
drchip@...
Dec 1, 2006 9:02 pm
75938
... 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...
Yakov Lerner
iler.ml@...
Dec 1, 2006 9:05 pm
75939
... That's probably because autohotkey is scripted in some sort of bastardized visual basic and is therefore lame....
Aaron Griffin
aaronmgriffin@...
Dec 1, 2006 9:06 pm
75940
... 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...
mzyzik@...
Dec 1, 2006 9:14 pm
75941
... [...] 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...
A.J.Mechelynck
antoine.mechelynck@...
Dec 1, 2006 9:19 pm
75942
... 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...
Charles E Campbell Jr
drchip@...
Dec 1, 2006 9:50 pm
75943
... Assuming you have "/var/www/html" in your path, the following pairing should help you out: nnoremap <silent> gf :exec 'e ' . ...