Skip to content

Instantly share code, notes, and snippets.

@copenhas
Created November 11, 2010 21:12
Show Gist options
  • Select an option

  • Save copenhas/673193 to your computer and use it in GitHub Desktop.

Select an option

Save copenhas/673193 to your computer and use it in GitHub Desktop.
Excerpt from my VIM presentation - the language of editing

Language of Text Editing

vimsentence := [count]vimexpression

vimexpression := vimcommand | <operator><motion>

vimcommand := <action> | <motion>

That is while in NORMAL mode

WTF? (examples)

Delete next 3 words: 3dw

Paste above line: P

Move cursor down 2 paragraphs: 2}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment