Hi Bram, On Tue, Feb 14, 2017 at 2:50 PM, Bram Moolenaar <[email protected]> wrote: > > Yegappan Lakshmanan wrote: > >> On Mon, Feb 13, 2017 at 3:22 PM, Bram Moolenaar >> <[email protected]> wrote: >> > It's possible in various ways, but still requires the user to add a mapping >> > or autocommand. >> > Problem is always that a file name could actually end in :{number}. >> > >> > I also wanted to make "gf" jump to the right line number, very useful when >> > looking in the output of a compilation command (and not using quickfix for >> > whatever reason). That should be possible, so long as the : character is >> > not >> > in 'isfname'. >> > >> >> The "gF" command jumps to the line number following the file name. > > I guess I should read the help (instead of just writing it :-). >
:-). This feature was added for the Vim7 release and some more related commands are: CTRL-W F - Open the file in a new window and jump to the line number following the file name. CTRL-W gF - Open the file in a new tab page and jump to the line number following the file name. - Yegappan -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
