gregsexton / gitv

gitk for Vim.
936 stars 59 forks source link

Open Gitv in buffer rather than new tab in MacVim #72

Closed abbiekressner closed 10 years ago

abbiekressner commented 10 years ago

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!!

gregsexton commented 10 years ago

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.

abbiekressner commented 10 years ago

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!!

abbiekressner commented 10 years ago

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 )