This theme is pretty old, but Vim remains the best! Therefore, I would like to share my experience.
I am using Guake Terminal and Vim v8 in Debian 9.2 . The solution posted by @soulseekah is excellent, but does not allow opening multiple files in this configuration.
As a decision, we need a bash script. The difference will be that we check if vim is working. If not, run it. If so, open the file in a new tab.
Here we go:
#!/bin/bash if pgrep -x "vim" > /dev/null ; then guake -e ":tabedit $1"; else guake -e "vim $1" fi
Disadvantages:
- You need to be in normal mode to open new files.
- Does not work with gnome terminal.
Enjoy the guys!
source share