mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-03 06:27:21 +01:00
add vim cheetsheet
This commit is contained in:
22
vim/cheetsheet.md
Normal file
22
vim/cheetsheet.md
Normal 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`
|
||||
Reference in New Issue
Block a user