Plugin prevents Vim options -o and -O from working correctly
I'm not able to open more than two files using Vim's -o or -O options when I have dwm.vim enabled.
I was able to narrow it down to dwm.vim with the help of others on my StackOverflow question. Only the first two files given are opened, with the first one being opened twice.
For reference, this is how I configure dwm.vim in my vimrc, but the problem still exists if I remove this code and leave the plugin enabled. So my custom configuration does not affect the issue.
let g:dwm_master_pane_width = 84 " Set width of master pane in dwm.vim. For percentages, use quotes.
autocmd VimResized * call DWM_ResizeMasterPaneWidth()
" Resize the width of main pane to n/4 of the full window.
nmap ,.. :call DWM_mod_align(3)<CR>
nmap .,, :call DWM_mod_align(1)<CR>
function! DWM_mod_align(n)
execute "1wincmd w"
execute "vertical resize ".(&columns * a:n) / 4
endfunction
Hi @dideler, I'm afraid I don't have any cycle to fix that. But I welcome any PR that makes sense ! :)
FWIW, I use vim -O with dwm all the time and the only thing I've noticed is the default layout no longer matches what's advertised.