Autocmd to control which window a new buffer gets loaded into
1 view
Skip to first unread message
Ryan
unread,
Apr 21, 2008, 8:22:01 PM4/21/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim_use
I just spent the better part of a day hacking the project.vim plugin
to get it to load in the previous window that does not have the tag
list plug (buf name = __Tag_List__) or mini buf explorer plugin (buf
name = -MiniBufExplorer). I am curious can I create an autocmd to
control which windows get changed. So, when ever and edit is executed
my autocmd would check which buffer is load in the window. If the
buffer is a special on (i.e. one used by a plugin), redirect the
loading of the buffer to another window or split a new if no other
ones exist. This would be really slick. Thanks for your time!