VIM: Swaps colon and semicolon in normal and visual mode

I use colon (command mode) far more than semicolon (repeat any of fFtT)
This commit is contained in:
Jonathan Hodgson 2020-09-26 15:42:59 +01:00
parent 4ce3c4e502
commit ea0780c05b

View file

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