Skip to content

Instantly share code, notes, and snippets.

@havenchyk
Last active January 8, 2017 14:50
Show Gist options
  • Save havenchyk/6ba675f07c49d888f19f806b65ffa067 to your computer and use it in GitHub Desktop.
Save havenchyk/6ba675f07c49d888f19f806b65ffa067 to your computer and use it in GitHub Desktop.
review vim egghead course
  • cw - change word
  • cit - remove everything inside html tag and go to the edit mode
  • ci + symbol - remove everything between two symbols and go into edit mode
  • w - go word forward, b - go word before
  • hjkl - left bottom top right
  • dd or shift + d - remove line
  • d5d - remove 5 lines
  • go to visual mode: (v or shift + v for lines), y - yank or copy, d - delete or cut, p - paste. note: paste will work only for vim, not shared clipboard
  • Shift + G - go to the end of file or to line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment