GithubHelp home page GithubHelp logo

leafduo / dwm.vim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spolu/dwm.vim

0.0 3.0 0.0 83 KB

Tiled Window Management for Vim

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

Vim Script 100.00%

dwm.vim's Introduction

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-H Focus the current window, that is, place it in the master pane [M] & stacks all other windows in the stacked pane [S]
  • C-L Fullscreen mode for the current window (use focus to return to normal mode)

ScreenShot

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)

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

dwm.vim's People

Contributors

0xqd avatar dsapala avatar leafduo avatar lmarburger avatar matze avatar mitnk avatar tony avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.