@@ -22,18 +22,38 @@ Use the following commands to create, browse and close windows:
2222- ` C-C ` Close the current window if no unsaved changes
2323- ` C-J ` Jumps to next window (clockwise)
2424- ` C-K ` Jumps to previous window (anti-clockwise)
25- - ` C-H ` Focus the current window, that is, place it in the master pane [ M] & stacks all other windows in the stacked pane [ S]
26- - ` C-L ` Fullscreen mode for the current window (use focus to return to normal mode)
25+ - ` C-Space ` Focus the current window, that is, place it in the master pane [ M] & stacks all other windows in the stacked pane [ S]
26+ - ` C-M ` Fullscreen mode for the current window (use focus to return to normal mode)
2727
2828### ScreenShot
2929
3030![ ] ( http://i.imgur.com/TKL4i.png )
3131
32+ ### Installation
33+
34+ Install to ` ~/.vim/plugin/dwm.vim ` .
35+
36+ Or copy and paste:
37+
38+ ```
39+ mkdir -p ~/.vim/plugin ~/.vim/doc; \
40+ wget -qO ~/.vim/plugin/dwm.vim \
41+ https://raw.github.com/spolu/dwm.vim/master/plugin/dwm.vim; \
42+ wget -qO ~/.vim/doc/dwm.txt \
43+ https://raw.github.com/spolu/dwm.vim/master/doc/dwm.txt;
44+ ```
45+
46+ You can use ` curl -so ` if you prefer it over ` wget ` .
47+
3248### Optional Settings
3349
3450- ` g:dwm_map_keys ` : if set to a falsey value, prevents key mapping.
3551- ` g:dwm_master_pane_width ` : set the width of the master pane (e.g. ` g:dwm_master_pane_width=85 ` )
3652
53+ To use a mouse to select windows and resize panes:
54+ - ` set mouse=a ` : enable the use of the mouse in all modes
55+ - ` set ttymouse=xterm2 ` : recognize mouse codes for the xterm2 terminal type
56+
3757### Remarks
3858
3959There is only one tiled layout available right now, but do not hesitate to * fork it* !
0 commit comments