VIM: Swaps colon and semicolon in normal and visual mode

I use colon (command mode) far more than semicolon (repeat any of fFtT)
master
Jonathan Hodgson 4 years ago
parent 8a3cc67dce
commit 3424880833
  1. 7
      nvim/.config/nvim/plugin/mappings.vim

@ -0,0 +1,7 @@
" Swaps semi colon to colon in normal mode
nnoremap ; :
nnoremap : ;
" Swaps semi colon to colon in visual mode
vnoremap ; :
vnoremap : ;
Loading…
Cancel
Save