Vim

  • vi is created by Bill Joy, who later co-founded Sun Microsystems.
  • vi stands for “visual”. Before that there was only line-editor.
  • vi is part of POSIX standard.
  • On most systems, vi is linked to vim.
  • See NeoVim.
  • In traditional vi, normal and command mode are called command and ex mode instead.

Tricks

  • Run mess (= messages) to see what happened if plugin is not working.
  • Use modeline for per-file config.
  • s/xxx/xxx/gc, use c flag for confirmation.
  • Use :r to read a whole file into current buffer