Vim: jump to word keymap
This commit is contained in:
parent
5c0cba776b
commit
a32f42d404
1 changed files with 8 additions and 0 deletions
|
@ -44,6 +44,9 @@ nnoremap <leader>/ /\c
|
|||
nnoremap <leader>gn :cnext<CR>
|
||||
nnoremap <leader>gN :cprev<CR>
|
||||
|
||||
" Seach current word
|
||||
nnoremap tj viwy/<C-r>"<CR>
|
||||
|
||||
" Emacs-like movements
|
||||
"inoremap <C-f> <right>
|
||||
"inoremap <C-j> <left>
|
||||
|
@ -130,6 +133,11 @@ nnoremap gf :cd %:p:h<CR>
|
|||
" Uppercase previous word from Insert mode
|
||||
inoremap <C-y> <ESC>vbU`>a
|
||||
|
||||
" Digraph insertion
|
||||
inoremap <C-j> <C-k>
|
||||
snoremap <C-j> <BS>i<C-k>
|
||||
xnoremap <C-j> c<C-k>
|
||||
|
||||
" Autocompletion - word and line
|
||||
inoremap <C-l> <C-n>
|
||||
"inoremap <C-l> <C-x><C-n>
|
||||
|
|
Loading…
Reference in a new issue