vim +50 file.txt

Category: File Viewing & Editing

vim +50 file.txt

Open vim and jump to line 50

Opens a file in vim and immediately places the cursor at line 50.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.