Hi,
1. create text file with the following three lines:
aa
ab
ac

2. turn on search highlight with:
:set hls

3. now jump to third row:
:3

4. visually select whole line:
V

5. Now do the substitute with "c" flag (confirm):
:s/a/x/gc

Now highlight search marks letter a in whole file, despite only line 3 was 
selected with visual selection and it is obvious substitute will only be 
affected on line 3. Is is possible to set that highlight search marks only 
affected (by visual mode selection) lines? Like in example letter "a" in line 3 
only.

Thanks

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to