dotfiles/vim/.vim/bindings.md
2020-02-18 14:21:14 -05:00

56 lines
1,015 B
Markdown

TODO: asciidoc
EasyAlign
C-x in visual mode to do reg expression
Vlime
\rr
start and connect to session within vim
\cc
start connection
\cs
list connections
\cd
drop connection
\i interaction mode
enter to evalutate
\dda
show doc for function
\p
show package name
\xc
show xref
\of
compile file
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)
TODO: make this folded notes, bind edit function
Custom Bindings
c-c
kill current window
Tmux
c-b d exit session
TODO kill session
:rename-window -n name
c-b {v, h} window split
c-b w new window
tslime: ,t