Editors

vim

Opens a powerful modal terminal editor.

vim is a modal editor with normal, insert, visual, and command modes. It is available on many servers and rewards practice.

Syntax
vim [file]

Arguments explained

  • file is the path to open.
  • -R opens readonly.
  • +number starts at a line number.

Common examples

Open a file
vim config.txt

Starts Vim in normal mode with config.txt.

Open at line 50
vim +50 app.log

Jumps to line 50 after opening.

vim Command
FieldDetails
Commandvim
CategoryEditors
Primary useOpens a powerful modal terminal editor.
Syntaxvim [file]