gregsexton / gitv

gitk for Vim.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Open Gitv in buffer rather than new tab in MacVim

abbiekressner opened this issue · comments

When I run Gitv in vim through iTerm, it opens in a new buffer. When I run Gitv in MacVim, it opens in a new tab. Does anyone know how to make Gitv open in a buffer in MacVim rather than in a new tab?

Thanks! Awesome plugin, @gregsexton!!

Hi,

Are you sure that it doesn't open in a new tab in your terminal? The plugin is currently hardcoded to always open a tab. Unfortunately there isn't a configuration option to adjust this. gitv makes some assumptions about the layout of the windows so it's safer to give it an entire tab. I don't have any plans to change this as it will be a fair amount of work.

Thanks for the reply, @gregsexton! You are correct, gitv does actually open in a new tab in my terminal. The way tabs are displayed in the terminal is much less intrusive to me than in MacVim so I assumed it was a buffer. Anyway, thanks again for the great plugin!!

I was able to get MacVim to treat tabs like the terminal does by removing the e from guioptions.

( http://stackoverflow.com/questions/12177686/how-do-i-get-macvim-tabs-to-display-graphically )