All Projects → spolu → Dwm.vim

spolu / Dwm.vim

Tiled Window Management for Vim

Labels

Projects that are alternatives of or similar to Dwm.vim

Vim Taskwarrior
vim interface for taskwarrior
Stars: ✭ 456 (-29.3%)
Mutual labels:  viml
Snipmate Snippets
A collection of snippets for snipmate
Stars: ✭ 541 (-16.12%)
Mutual labels:  viml
Taglist.vim
Source code browser (supports C/C++, java, perl, python, tcl, sql, php, etc)
Stars: ✭ 604 (-6.36%)
Mutual labels:  viml
Kotlin Vim
Kotlin plugin for Vim. Featuring: syntax highlighting, basic indentation, Syntastic support
Stars: ✭ 479 (-25.74%)
Mutual labels:  viml
Vim Mundo
🎄 Vim undo tree visualizer
Stars: ✭ 530 (-17.83%)
Mutual labels:  viml
Vim As A Python Ide
Example code from my PyCon APAC 2012 talk.
Stars: ✭ 549 (-14.88%)
Mutual labels:  viml
Vim Seek
Seek makes navigating long lines effortless, acting like f but taking two characters.
Stars: ✭ 452 (-29.92%)
Mutual labels:  viml
Vim Css Color
Highlight colors in css files
Stars: ✭ 635 (-1.55%)
Mutual labels:  viml
Yats.vim
Yet Another TypeScript Syntax: The most advanced TypeScript Syntax Highlighting in Vim
Stars: ✭ 539 (-16.43%)
Mutual labels:  viml
Hardmode
Vim: Hard Mode (deprecated)
Stars: ✭ 580 (-10.08%)
Mutual labels:  viml
Vim Autoclose
This plugin for Vim enable an auto-close chars feature for you. For instance if you type an '(', ``autoclose`` will automatically insert a ')' and put the cursor between than.
Stars: ✭ 497 (-22.95%)
Mutual labels:  viml
Vim Ruby Refactoring
Refactoring tool for Ruby in vim!
Stars: ✭ 503 (-22.02%)
Mutual labels:  viml
Dotvim
An attempt at The Ultimate Vim Configuration™ with focus on Rails development. DEPRECATED, SEE https://github.com/vitaly/dotvim2
Stars: ✭ 553 (-14.26%)
Mutual labels:  viml
Vim Es6
List of JavaScript ES6 snippets and syntax highlighting for vim.
Stars: ✭ 465 (-27.91%)
Mutual labels:  viml
Vim Less
vim syntax for LESS (dynamic CSS)
Stars: ✭ 609 (-5.58%)
Mutual labels:  viml
Yunocommit.vim
Y U NO commit after so many writes???
Stars: ✭ 456 (-29.3%)
Mutual labels:  viml
Creep
a pretty sweet 4px wide pixel font.
Stars: ✭ 546 (-15.35%)
Mutual labels:  viml
Dockerfile.vim
Vim syntax file & snippets for Docker's Dockerfile
Stars: ✭ 645 (+0%)
Mutual labels:  viml
Timl
Clojure like language which compiles down to VimL
Stars: ✭ 622 (-3.57%)
Mutual labels:  viml
Vim Gnupg
This script implements transparent editing of gpg encrypted files.
Stars: ✭ 566 (-12.25%)
Mutual labels:  viml

dwm.vim : Tiled Window Management for Vim

dwm.vim adds tiled window management capabilities to Vim. It is highly inspired by dwm (Dynamic Window Manager) tiled layout management.

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

Windows are always organised as follows:

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

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

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

ScreenShot

Installation

Install to ~/.vim/plugin/dwm.vim.

Or copy and paste:

mkdir -p ~/.vim/plugin ~/.vim/doc; \
wget -qO ~/.vim/plugin/dwm.vim \
    https://raw.github.com/spolu/dwm.vim/master/plugin/dwm.vim; \
wget -qO ~/.vim/doc/dwm.txt \
    https://raw.github.com/spolu/dwm.vim/master/doc/dwm.txt;

You can use curl -so if you prefer it over wget.

Optional Settings

  • g:dwm_map_keys: if set to a falsey value, prevents key mapping.
  • g:dwm_master_pane_width: set the width of the master pane (e.g. g:dwm_master_pane_width=85)

To use a mouse to select windows and resize panes:

  • set mouse=a: enable the use of the mouse in all modes
  • set ttymouse=xterm2: recognize mouse codes for the xterm2 terminal type

Remarks

There is only one tiled layout available right now, but do not hesitate to fork it!

For fun, I urge you to try using dwm.vim in vim, in tmux, in ssh, in tmux, in xterm, in dwm.

Thanks Uriel (✝) (luriel on HackerNews) for this awesome comment on the HN post related to dwm.vim:

As one of the original instigators of dwm and wmii before that (mostly by shouting at garbeam) I want to point out that this kind of tiled window management was first introduced in larswm (that is sadly discontinued), which in turn was heavily inspired by Rob Pike's Acme editing environment ( http://acme.cat-v.org ). So in a way we have gone full circle, from text editor, to window managers, back to text editor. That said, I still prefer Acme to vim, but would be really cool if somebody added mouse chording to vim :)

Contributors

@dsapala (Dan Sapala)
@rhacker
@matze (Matthias Vogelgesang)
@mitnk
@tony (Tony Narlock)
@lmarburger (Larry Marburger)
@afriggeri (Adrien)
@n4kz (Alexander Nazarov)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].