Tim Chase <[email protected]> wrote on 07/14/2011 07:53:44 PM:
> 
> :help 'splitbelow'
> 
> and the following 'splitright' setting.

In fact I am developing in C++ and I want to vertically split the 
corresponding header and source files. I have the header file (.h) on the 
left and the source file (.c) on the right with a :vsplit. Then I want to 
open a second pair of files. To keep them "bound", I am usually performing 
a :bottom split and then a :vsplit. 

I have remapped the <CTRL-W>s to make it execute :bottom split explicitly. 
Then with <CTRL-W>s and <CTRL-W>v I can easily do the job. I need 
otherwise to play with <CTRL-W>K and so on...

I believe I will end up creating functions to ease my life even more (do 
to the :bottom split <filename.c> and :vsplit <filename.h> on the fly).

Thanks,
Fabien.

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

Reply via email to