!$
- Last argument of previous command
CMD-shift-H
- Paste historyCMD-;
- Start typing word, will use history and show top 20 choices
*
- search for word under cursor{
- Move up a file by block}
- Move down a file by blockCTRL-W <
- Decrease current window width by NCTRL-W >
- Increase current window width by N
Every plugin seems to do navigation slightly differently. Some use j/k, some
CTRL-n
/CTRL-p
, etc. Documenting which is which then going to see if we can
get them all doing the same thing.
- Command-T
CTRL-n
/CTRL-p
- next/previousCTRL-v
- open selection in new vertical split window<CR>/<CTRL-CR>
- open selection in new horizontal split window
- Ack
CTRL-n
/CTRL-p
- next/previousv
- open selection in new vertical split window
mj
- move down by method (remapped from m])mk
- move up by method (remapped from m[)md
- move to method definition (remaped from C-])mb
- move back to previous position (remaped from C-T/:pop. Note that C-[ is escape and can't easily be remapped),aw
- ack search for the word under the cursor using the current filetype as an argument to ack,nt
- toggle nerdtree,q
- open quickfix window (after :grep, etc),qc
- close quickfix window,pt
- paste toggle,ll
- long lines (set textwidth=large),lj
- active buffers,lj2b
- split buffer 2 horizontally,lj->b
- arrow right then b to split horizontally
,lj1v
- split buffer 1 vertically,b
- search for buffers (command-t),t
- search for files (command-t),T
- tagbar browser
g
- gitgst
- git statusgdv
- git diff -w "$@" | view -gca
- git commit -v -agp
- git pushgl
- git pullgco
- git cogup
- git fetch && git rebase
gc
- git commit -vgb
- git branchgba
- git branch -agcount
- git count (shows by user commit counts)
gcp
- git cherry-pickglg
- git log --stat --max-count=5glgg
- git log --graph --max-count=5
-
ggpull
- git pull origin $(currentbranch) -
ggpush
- git push origin $(currentbranch) -
ggpnp
- git pull origin$(currentbranch) && git push origin $ (currentbranch)