Skip to content

Instantly share code, notes, and snippets.

@dira
Created May 7, 2009 16:35
Show Gist options
  • Save dira/108197 to your computer and use it in GitHub Desktop.
Save dira/108197 to your computer and use it in GitHub Desktop.
vimmish translation of input stream
i => insert before cursor:
Don't know vim :(. => type Don't know vim :(.
<ESC> => go to normal mode
^ => move to the begining of the line (not blank character)
2W => move to the begining of the next space-separated word, 2 times
B => move backwards one space-separated-word
c2w => change to the begining of the next word, 2 times
better now => type better now
<ESC> => go to normal mode
<RIGHT> => move one character to the right
D => delete the rest of the current line
a => append after cursor:
. => type .
<ESC> => go to normal mode
I => insert to the begining of the current line:
I can understan => type I can understan
<ESC> => go to normal mode
<RIGHT> => move one character to the right
~ => change character case
dE => delete to the end of the next space-separated-word
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment