7 years ago
Perform different changes to the next occurrences of the word under the cursor.
§ to change the current word,
§ again to jump to the next occurrence,
N to skip the next occurrence,
. to repeat the previous change.
nnoremap § *``gn<C-g> inoremap § <C-o>gn<C-g> xnoremap § "vy:let @/ = @v<CR>gn<C-g> snoremap <expr> . @.