dai
8/23/2012 - 5:50 AM

dwm.vim - Tiled Window Management for Vim : vim online

dwm.vim adds tiled window management capabilities to Vim. 
It is highly inspired by dwm (Dynamic Window Manager) [http://dwm.suckless.org/] tiled layout management. 

Windows are always organised as follows: 

================= 
|              |       S1         | 
|              |========== 
|      M     |       S2         | 
|              |========== 
|              |       S3         | 
================= 

Use the following commands to create, close and browse windows: 

- CTRL-N Creates a new window and place it in the area [M] & stacks all previous windows in the [S] areas. 
- CTRL-C Close the current window if no unsaved changes 
- CTRL-J Jumps to next window (clockwise) 
- CTRL-K Jumps to previous window (anti-clockwise) 
- CTRL-F Focus the current window, that is, place it in the M area & stacks all other windows in the [S] areas 

There's only one tiled layout available right now, but the project is open for contribution: 

PLEASE FORK THIS PROJECT: https://github.com/spolu/dwm.vim
 
install details
- copy the dwn.vim file into $HOME/.vim/plugin directory 
- start vim

http://www.vim.org/scripts/script.php?script_id=4186

via http://news.ycombinator.org/item?id=4419530