vi/vim — Cheat sheet Linux

In this story, you will find the Linux Cheat Sheet for vi and vim.

vi and vim are two common editors. They support three modes:

  • command: allows to move the cursor and to perform operations,
  • insert: allows to insert text,
  • last line: allows to search and replace strings, and to execute external commands.

The configuration files are:

  • /etc/vim rc for the global configuration,
  • /home/user/.vimrc for the user configuration.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store