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