aliases | category | classification | date | date_modified | draft | id | image | links | local_archive_links | pinned | series | tags | title | type | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
vim |
public |
2022-11-16 09:19:31 -0800 |
2022-11-16 09:19:31 -0800 |
false |
20221116171931 |
false |
false |
|
Open a File at Specified Line Number with Vim |
tech-note |
You can provide a line number as an argument when opening a file in Vim and Vim will open the file and put the cursor at that line number.
vim +<line_number> <filename>
With a real example, the above becomes:
vim +82 playbook.yml