Open llinfeng opened 9 years ago
Hey @llinfeng !
I was struggling with the same issue and investigated a little bit. I have the strong suspicion that this line is missing an !
operator right at the beginning of the if-statement.
Changing the line to:
au BufWinEnter * if !&l:buflisted || &l:filetype == 'help' | call DWM_AutoEnter() | endif
seemed to fix the problem for me.
Hope this helps!
@TimoDritschler: Fantastic! What an elegant solution! I have updated the .vim
file and have it available through Vundle as the following Github repo:
https://github.com/llinfeng/dwm.vim/
Thanks again!
It seems that the
bnext
will always call the new buffer to be the "primary buffer", which is fixed to the left edge and occupies the entire vertical split. Is there a way to tune this? Yet maintaining the functionality of the primary buffer?For detailed description, please refer to my posting on this link: http://stackoverflow.com/questions/27381436/buffernext-is-distorting-the-window-layout
All the best,
Linfeng