I would like to use the mouse features of gvim
, but have it behave as normal vim
otherwise. For that, I have added the line set guioptions=
in my .gvimrc .
I could make an alias to gvim
(mapping it to exec gvim
), so that when I open gvim
from a terminal, it appears to open in the same window.
Is there any way to go back to the starting terminal when I close gvim
? (like when you close vim
)
:set mouse=a
in vim
did the trick.