Vim Resources

One of the goals this semester is to learn to use Vim: a real text (and programmer's) editor. Here are some resources to help you get started.

  • Useful for editing text documents with Vim:
    • :set tw=72 (sets textwidth of each line to 72)
      • then just type, text will wrap from one line to the next automatically
    • to “reflow” a paragraph type, position your cursor anywhere in the paragraph and type gq in Normal mode
      • your paragraph will reflow to the textwidth you set
  • configure your vim editor with Pathogen
    • note: I haven't used this yet, but it looks well worth learning once you're ready to customize your Vim
  • more? let me know what helpful resources you find, and I'll add them here!