dotfiles/vim/.vim/bindings.md

46 lines
854 B
Markdown
Raw Normal View History

2020-02-07 08:49:43 -05:00
EasyAlign
C-x in visual mode to do reg expression
2020-01-20 15:48:48 -05:00
Vlime
\cc
start connection
\cs
list connections
\cd
drop connection
\i interaction mode
enter to evalutate
\dda
show doc for function
2020-02-07 08:49:43 -05:00
\p
show package name
\xc
show xref
2020-01-20 15:48:48 -05:00
\of
compile file
2020-02-07 08:49:43 -05:00
GitGutter
[c and ]c
jump between hunks
<leader>hp
preview hunk
<leader>hs
stage hunk
<leader>hu
undo hunk
TODO: map to ghp, ghs, ghu, ghn, ghp?
find mapping for gitgutterfold
TODO:
nmap ghv <Plug>(GitGutterPreviewHunk)
nmap ghn <Plug>(GitGutterNextHunk)
nmap ghp <Plug>(GitGutterPrevHunk)
nmap ghf <Plug>(GitGutterFold)
2020-01-20 15:48:48 -05:00
TODO: make this folded notes, bind edit function
2020-02-07 08:49:43 -05:00
Custom Bindings
c-c
kill current window