You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
474 B
21 lines
474 B
" Swaps semi colon to colon in normal mode |
|
nnoremap ; : |
|
nnoremap : ; |
|
|
|
" Swaps semi colon to colon in visual mode |
|
vnoremap ; : |
|
vnoremap : ; |
|
|
|
" Make jj in insert mode go to normal mode |
|
inoremap jj <Esc> |
|
|
|
" Make ctrl+hjkl change focus between windows |
|
nnoremap <c-h> <c-w>h |
|
nnoremap <c-j> <c-w>j |
|
nnoremap <c-k> <c-w>k |
|
nnoremap <c-l> <c-w>l |
|
|
|
" Make Ctrl C and Ctrl V work on system clipboard |
|
" if in visual or insert mode respectively |
|
vnoremap <C-c> "+y |
|
inoremap <C-v> <Esc>"+pa
|
|
|