Jump directly to a target line on startup.

Section: Startup commands

Open file at a specific line

bash
bash
vim +42 app.ts
nvim +42 app.ts
Explanation

Useful from grep results, stack traces, or bug reports.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Startup commands
Open a file from shell
Start the editor on a file path.
OpenIn sheetbashsame section
Open read-only
Prevent accidental writes while reviewing.
OpenIn sheetbashsame section
Start without user config
Launch a clean environment for config debugging.
OpenIn sheetbashsame section
Start in diff mode
Open two files side by side for comparison.
OpenIn sheetbash1 tag match
Recover from a swap file
Open recovery mode for a specific file.
OpenIn sheetbash1 tag match
Jump between diff hunks
Move to the next or previous change region.
OpenIn sheetvim1 tag match