IT notes

vim

Quote/unquote words: ciw'Ctrl+r"' or ciw '' Esc p p paste after the cursor, P will paste before the cursor. Search matches (gn with the dot command) Suppose that we have a document containing several occurrences of the word ‘Normal’ and we’d like to change each occurrence to ‘Visual’. We can run /Normal to search for the word ‘Normal’, then type cgnVisual<Esc> to change the next match to the word ‘Visual’ and by pressing .