Add command-line option to go to a specific line on startup#38
Add command-line option to go to a specific line on startup#38parras wants to merge 1 commit intotihirvon:masterfrom
Conversation
E.g.: $ dex +245 myfile will open myfile with the cursor positioned on line 245. This ensures compatibility with less.
|
For single files, you can already use: For multiple files you can use: Does this new flag handle opening multiple files or just the first? |
|
@craigbarnes, yes it is equivalent but note that:
|
|
I don't see this interfering with anything, especially since dte honours the |
I can't seem to make this option work at all with I intend to implement this at some point in the dte fork (issue: craigbarnes/dte#16). |
|
Strange that less shouldn't work for you... Here it works, only for the first file, and |
E.g.:
$ dex +245 myfilewill open myfile with the cursor positioned on line 245.
This ensures compatibility with less.