jeetsukumaran / vim-buffergator

Vim plugin to list, select and switch between buffers.
498 stars 49 forks source link

autoupdate not work well with nerdtree and taglist #23

Open justmao945 opened 11 years ago

justmao945 commented 11 years ago

When I set g:buffergator_autoupdate to 1 and then both nerdtree and taglist can't work. I try to comment out execute "wincmd ^" line in function s:UpdateBuffergator, and that makes everything work. But I don't know why here should split a window by wincmd ^.

if exists("b:is_buffergator_buffer") && !l:self_call
  execute "wincmd p"
elseif a:event == 'delete' && !l:self_call
  execute "wincmd ^"
endif

ps: This plugin is great and nice~ With a pity that mouse click is not supported, so I create a piece patch to add this feature.