VIM: Swaps colon and semicolon in normal and visual mode

I use colon (command mode) far more than semicolon (repeat any of fFtT)
Jonathan Hodgson 4 years ago
parent 4ce3c4e502
commit ea0780c05b
  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