Created
August 1, 2020 12:32
-
-
Save yongkyuns/d157e6f3adf1c9cd3c222459f90d3034 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Cursor move to line begin/end in insert mode | |
inoremap <C-b> <C-o>^ | |
inoremap <C-e> <C-o>$ | |
inoremap <C-h> <Left> | |
inoremap <C-l> <Right> | |
inoremap <C-j> <Down> | |
inoremap <C-k> <Up> | |
" delete without yanking | |
nnoremap <C-b> ^ | |
nnoremap <C-e> $ | |
nnoremap <leader>d "_d | |
vnoremap <leader>d "_d | |
nnoremap x "_x | |
vnoremap x "_x | |
" Jump up/down multiple lines | |
nnoremap <C-j> 5j | |
nnoremap <C-k> 5k | |
" replace currently selected text with default register | |
" without yanking it | |
vnoremap <leader>p "_dP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment