Hi,
Before you fry me for using the words Vim and notepad in the same line, let me explain
Is there an option in Vim to highlight a portion of text then use that portion of text in a find and replace across the whole file?
Much like highlighting some characters/words in notepad, pressing CTRL + C (to copy) then CTRL + H (to open the find/replace window) then CTRL + V (to paste the highlighted text in the "Find what" field), then completing the "Replace with" field, before clicking "Replace all".
From my Googling I've come across pressing ‘:’ while in visual mode to run a search on the highlighted section - not what I'm looking for.
How about using the highlighted section in the search itself?
thanks
John
Bookmarks