vim [file]Arguments explained
- file is the path to open.
- -R opens readonly.
- +number starts at a line number.
Common examples
vim config.txtStarts Vim in normal mode with config.txt.
vim +50 app.logJumps to line 50 after opening.
| Field | Details |
|---|---|
| Command | vim |
| Category | Editors |
| Primary use | Opens a powerful modal terminal editor. |
| Syntax | vim [file] |