bashvimconfigurationconfigurxvt

Linux bash: exec programm from terminal, return to terminal after it was closed


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)


Solution

  • :set mouse=a in vim did the trick.