spolu/dwm.vim — pull request #21 by afriggeri (2012-08-26 11:54:59+00:00)
Title: Relative width for master pane

I often resize my terminal, and in some cases I want to have the master pane take a relative percentage of the terminal's width rather than having a fixed width.

"fixed width, 80 columns
let g:dwm_master_pane_width = 80

"relative width, 66% of vim's width
let g:dwm_master_pane_width = "66%"