> Dear Vim user
>
> I am trying to find a way to make vim's vertical window works as table
> of content.
>
> My question is :
> Ctl+W-F open file new horizontal window. Instead
> is there any way to make "Ctl+W-F" open file in existing windows like
> below ?
>
I think the key here is the "existing window". You'd need to make a
mapping which first grabs the file name under the cursor, then jumps
to the appropriate window to open it in, then executes a command to
edit the file name grabbed.
Maybe you want to use the :drop command in your mapping to jump to a
window if there already is one for the file. But :find will give you
behavior more similar to CTRL-W_F than :drop, because both :find and
CTRL-W_F will search your 'path' option.
--
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