Cheatography
https://cheatography.com
Cheatsheat for Vim and Plugins that I can't remember. Pretty custom to me.
VIM
<leader> |
\ |
<l> |
<leader> |
<CR> |
Carriage Return |
:help key-notation |
List all key notations |
Gitgutter
]c |
Next Change |
[c |
Previous Changwe |
<l>hs |
Stage hunk |
<l>hs |
Revert Hunk |
patchreview
:DiffReview |
Reviewing current changes in your workspace |
:DiffReview git staged --no-color -U5 |
Reviewing staged git changes |
|
|
python-mode
<l>b |
Add breakpoint |
<C-c>g |
Open definition in split |
<C-c>rr |
Rope rename |
<C-c>r1r |
Rename module |
<C-c>ra |
Resolve missing import under cursor |
<C-c>r1p |
Convert module to package |
<C-c>rm |
Extract method from line |
<C-c>rl |
Extract variable from line |
<C-c>ru |
Find places in which function can be used and changes the code to call it instead. |
<C-c>rv |
Move method/fields
It happens when you perform move refactoring on a method of a class. In this refactoring, a method of a class is moved to the class of one of its attributes. The old method will call the new method. If you want to change all of the occurrences of the old method to use the new method you can inline it afterwards. |
<C-c>rs |
Change function signature |
:PymodeRopeUndo |
Undo last change on project |
:PymodeRopeRedo |
Redo last change on project |
Check g:pymode_python
is correct.
|
|
Fugitive
<C-R<C-G> |
On the command line, recall the path to the current object |
["x]y<C-G> |
Yank the commit SHA and path to the current object |
|
Following maps are available in Git Objects |
<CR> |
Jump to revision under cursor |
o |
Jump to revision under cursor in new split |
S |
Jump to revision under cursor in new vert split |
O |
Jump to revision under the cursor in new tab |
- |
Go to the tree containing the current tree or blob |
~ |
Goto the current file in the [count]th first ancestor |
p |
Go to the current file in the [count]th parent |
C |
Go to the commit containing the current file |
. |
Start a : command line with the current revision prepopulated at the end of the line |
a |
Show the current tag, commit, or tree in an alternative format |
|
|
Cscope
<C-\><query> |
Find |
<C-<space>><query> |
Find in horizontal split |
<C-<space>><C-<space>><query> |
Find in vertical split |
|
Queries |
s |
Find all references to token |
g |
Find global definitions(s) of the token |
c |
Find all calls to the function name |
t |
Find all instances of the text |
e |
egrep search for word |
f |
Open the filename under cursor |
i |
Find files that include filename |
d |
Find functions called by function under cursor |
|
Created By
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets
More Cheat Sheets by cscutcher