sponsor Vim development Vim logo Vim Book Ad

thwins : Keep Vim Displaying Three Windows

 script karma  Rating 0/0, Downloaded by 949  Comments, bugs, improvements  Vim wiki

created by
Hugo Wang
 
script type
utility
 
description
Windows are always organized as follows:

===================
|                  |        S1       |
|    Main      |==========
|                  |        S2       |
===================

Mapped Keys:

<C-H> Make the current buffer as the main window
<C-L> Make current buffer displayed as full screen
<C-C> Delete current buffer
<C-D> Close all buffers except the current one
<C-J> Move cursor to next buffer
<C-K> Move cursor to previous buffer

Priority Rules for Buffers

Current > Main > Displayed > New opened > Others

Issues: https://github.com/mitnk/thwins
 
install details
$ cp thwins.vim ~/.vim/plugin/
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
thwins.vim 0.1.1 2014-11-20 7.0 Hugo Wang Improved events handle for BufEnter / BufLeave.
thwins.vim 0.1.0 2013-04-07 7.0 Hugo Wang Initial upload
ip used for rating: 18.204.35.30

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github