Skip to content

Instantly share code, notes, and snippets.

@khanhicetea
Last active March 2, 2018 06:44
Show Gist options
  • Save khanhicetea/a2659a6121786af29d53d6e8af1d07ca to your computer and use it in GitHub Desktop.
Save khanhicetea/a2659a6121786af29d53d6e8af1d07ca to your computer and use it in GitHub Desktop.
Tango Flash Cards
We can make this file beautiful and searchable if this error is corrected: Illegal quoting in line 9.
ESC,normal mode
`,[motion] go to mark point
~,[command] toggle case
!,[operator] external filter
@,[command] play a macro
#,[motion] previous indent
$,[motion] end of line
%,[motion] go to match open/close symbol
^,[motion] "soft" begin of line - first char not blank space
&,[command] repeat :s (:s search and replace in current line)
*,[motion] next ident (find next place of current word)
(,[motion] begin sentence
),[motion] end sentence
-,[motion] "soft" begin of prev line
_,[motion] "soft" begin of line
+,[motion] "soft" begin of prev line
=,[operator] auto format
Q,[command] ex mode
q,[command] record macro
W,[motion] next (big) WORD
w,[motion] next word
E,[motion] end (big) WORD
e,[motion] end word
R,[command] replace mode (enter INSERT MODE)
r,[command] replace character
T,[motion] back till reach char
t,[motion] till reach char
Y,[command] yank line
y,[operator] yank
U,[command] Undo in current line
u,[command] undo
I,[command] Insert at begin of line (INSERT MODE)
i,[command] INSERT MODE
O,[command] open above (INSERT MODE)
o,[command] open below (INSERT MODE)
P,[command] paste before
p,[command] paste after
{,[motion] begin paragraph
},[motion] end paragraph
A,[command] append at end of line (INSERT MODE)
a,[command] append (INSERT MODE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment