Difference between revisions of "Vim"

From www.b-kaempgen.de
Jump to: navigation, search
(Created page with "Description::Useful commands in the text editor Vim. * go into insert mode: i * leave insert mode: esc * :wq / :x Write file to disk and quit the editor * \h see help * \e f...")
(No difference)

Revision as of 20:06, 25 September 2014

Useful commands in the text editor Vim.

  • go into insert mode: i
  • leave insert mode: esc
  •  :wq / :x Write file to disk and quit the editor
  • \h see help
  • \e file
  • \i
  • searching in vim: / (n for next, N for previous)
  • Deleting the next 5 lines: d5d
  • Goto line 7: :7