vim update
This commit is contained in:
parent
515847d07e
commit
cb95e46ef0
2 changed files with 14 additions and 2 deletions
|
|
@ -1,5 +1,11 @@
|
||||||
TODO: asciidoc
|
TODO: asciidoc
|
||||||
|
|
||||||
|
General Vim
|
||||||
|
c-p, c-n
|
||||||
|
dumb completion in open buffers
|
||||||
|
c-i, c-o
|
||||||
|
back/forward a jump
|
||||||
|
|
||||||
EasyAlign
|
EasyAlign
|
||||||
C-x in visual mode to do reg expression
|
C-x in visual mode to do reg expression
|
||||||
Vlime
|
Vlime
|
||||||
|
|
@ -54,3 +60,6 @@ Tmux
|
||||||
c-b {v, h} window split
|
c-b {v, h} window split
|
||||||
c-b w new window
|
c-b w new window
|
||||||
tslime: ,t
|
tslime: ,t
|
||||||
|
|
||||||
|
TODO YCM
|
||||||
|
<leader>gd goto definition
|
||||||
|
|
|
||||||
|
|
@ -123,8 +123,10 @@
|
||||||
" Nnoremap <tab> %
|
" Nnoremap <tab> %
|
||||||
" Vnoremap <tab> %
|
" Vnoremap <tab> %
|
||||||
" Remap tab to jump by window
|
" Remap tab to jump by window
|
||||||
nnoremap <tab> <C-w>w
|
nnoremap <tab> :tabn<CR>
|
||||||
vnoremap <tab> <C-w>w
|
vnoremap <tab> :tabn<CR>
|
||||||
|
nnoremap <S-tab> :tabp<CR>
|
||||||
|
vnoremap <S-tab> :tabp<CR>
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
|
|
||||||
|
|
@ -166,6 +168,7 @@
|
||||||
nnoremap <leader>d k :r !date <cr>
|
nnoremap <leader>d k :r !date <cr>
|
||||||
|
|
||||||
nnoremap <leader>k :vert new ~/.vim/bindings.md <cr>
|
nnoremap <leader>k :vert new ~/.vim/bindings.md <cr>
|
||||||
|
tnoremap <leader><esc> <C-\><C-n>
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue