On Fri, May 18, 2018 at 4:35 AM, Renato Fabbri <[email protected]> wrote: > thanks! > > i remembered to have seen it in the manual. > > how would you find it?
For hard cases, the :helpgrep commands works wonders. See ":help :helpgrep" without the quotes. In fact, the whole helphelp.txt helpfile is a well-written cheatsheet about using the help. > > i performed searches on Vim help and Google. > > tx++ > r. > > On Thu, May 17, 2018 at 2:39 PM, Gary Johnson <[email protected]> wrote: >> >> On 2018-05-17, Renato Fabbri wrote: >> > is there a notation such as >> > ./dir/file&L44 >> > that makes gf or <c-w>f etc normal commands >> > jump to line 44? >> >> :help gF >> :help CTRL-W_gF >> >> Regards, >> Gary Or if you are willing to type the filename (or "put" it onto the command-line from a register, maybe but not mandatorily the alternate-file register, see ":help c_CTRL-R") rather than find it under the cursor, you could also use ":e +44 path/to/filename.ext" (see ":help +cmd") (With a plus sign but no number it goes to the last line.) Best regards, Tony. -- -- You received this message from the "vim_use" 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_use" 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.
