Last active
September 14, 2020 16:45
-
-
Save jeromecovington/4893b504bf6b1270922c127b8df69398 to your computer and use it in GitHub Desktop.
vim + vscode in brief
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"word" motions (no special chars) | |
w | |
forward by word | |
b | |
backward by word | |
e | |
end of word | |
ge | |
end of word (backward) | |
"WORD" motions (including special characters) | |
W | |
forward by word incl special chars | |
B | |
backward by word incl special chars | |
E | |
end of word incl special chars | |
gE | |
end of word (backward) incl special chars | |
"find" motions | |
f" | |
next occurence of " | |
F" | |
previous occurence of " | |
; | |
next | |
, | |
previous | |
"semantic" motions | |
gd | |
goto definition | |
gf | |
goto import file | |
"delete" motions | |
d | |
delete (word, etc.) | |
dd | |
delete whole line | |
"change" motions | |
c | |
change (word, etc.) | |
cc | |
change whole line | |
surrounding | |
ds' | |
delete surrounding ' | |
cs'" | |
replace surrounding ' with " | |
inner | |
di' | |
delete inside of ' | |
ci' | |
change inside of ' | |
da' | |
delete inside of ' (including ') | |
ca' | |
change inside of ' (indluding ') | |
easymotion | |
\\w | |
label all words | |
\\f" | |
label all occurences of " | |
insert | |
i | |
before | |
I | |
start of line | |
a | |
after | |
A | |
end of line | |
o | |
line below | |
O | |
line above | |
gi | |
where last exited insert | |
split | |
:sp {file} | |
horizontal split | |
:vsp {file} | |
vertical split | |
vscode special | |
gb | |
like * but adds cursor to next occurence | |
gh | |
like hovering with mouse over word |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment