Friday, October 26, 2012

Re: Open a file from a list of files in a vim buffer

how about gf?

On 10/26/2012 02:15 PM, David Wang wrote:
> Hi,
>
> I have a (not so long) list of existing ascii files in a vim buffer, and I'd like to open a particular file from the list in a split window. I know I could copy the file name using mouse (in a terminal on a mac), go to the command mode, and paste the file name after :sp. However, I'm keen on knowing any simple mouse-free solutions.
>
> The vim buffer looks like the following:
>
> aaa.F
> bbb.F
> ccc.F
> ddd.F
> eee.F
> ~
> ~
> ~
>
> Thank you,
> David
>

--
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

No comments:

Post a Comment