Welcome to Shaun Luttin's public notebook. It contains rough, practical notes. The guiding idea is that, despite what marketing tells us, there are no experts at anything. Sharing our half-baked ideas helps everyone. We're all just muddling thru. Find out more about our work at bigfont.ca.

Starting with Vim - The Absolute Basics

Tags: vim

  • i Insert Mode, for notepad style text editing
  • esc Command Mode, for running any of the following commands
  • v Visual Mode, to select text
  • h j k l Move cursor left, down, up, right
  • d Cut
  • y Copy
  • p Paste
  • u Undo
  • ctrl + r Redo
  • :w Save
  • :q Quit
  • / + target Find
  • n Find next
  • N Find previous
  • :%s/target/replacement/gc Find and replace, globally, with confirmation

To learn more, go to http://vim.wikia.com. Use the search functionality.