Tuesday, February 21, 2012

Re: How to use vertical window as table of content

onioinsjk <jung.jinki@gmail.com> a écrit:
>
> 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 ?

You can use the following mapping:

:noremap <C-W><S-F> :vertical rightbelow wincmd F<CR>

Best,
Paul

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