add vim cheetsheet

This commit is contained in:
Thomas Ruoff
2018-01-27 00:47:29 +01:00
parent 2c1308a4d7
commit 687e81de3a
2 changed files with 25 additions and 0 deletions

22
vim/cheetsheet.md Normal file
View File

@@ -0,0 +1,22 @@
# VIM CHEETSHEET
Generel stuff that I need to get into my muscle memory.
## surround
* `cs"'` - changes surrouding " to '
## Grepper
* `<leader>g` - kick off
* without entering anything, takes word under the cursor
## GitGutter
* `]c`, `[c` - jump to next/prev hunk (*c*hange)
* `<leader>hs` - stage hunk
* `<leader>hu` - undo hunk
## Debugging
* `<leader>DD` - start profiling
* `<leader>DP` - pause profiling, output in `profile.log`