Code Monkey home page Code Monkey logo

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.

Windows are always organised as follows:

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

Use

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

  • C-N, :New Creates a new window and place it in the master pane [M] & stacks all previous windows in the stacked pane [S].
  • C-P, :Split Open all files provided as argument. The last file is added to [M] and all existing and new windows are stacked in [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].

Installation

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

Or, if you use Vundle, add the following line to your .vimrc

Bundle 'raphael-proust/dwm.vim'

Options

  • g:dwm_map_keys: if set to a falsey value, prevents key mapping.
  • g:dwm_make_commands: if set to a falsey value, prevents commands creation.
  • 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

Contributors

@dsapala (Dan Sapala)
@rhacker
@matze (Matthias Vogelgesang)
@mitnk
@tony (Tony Narlock)
@lmarburger (Larry Marburger)
@afriggeri (Adrien)
@n4kz (Alexander Nazarov)

dwm.vim's People

Contributors

0xqd avatar dideler avatar dsapala avatar flashkorten avatar friggeri avatar leafduo avatar lmarburger avatar martinmelin avatar matze avatar mgirouard avatar mitnk avatar n4kz avatar tony avatar tpope avatar

Watchers

 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.