open vim in new terminal window
gnome-terminal -e 'vi filename'
(Was interested in this because something was weird with Recoll, a local file search, and it wasn’t opening things right. Figured i’d just open in vim but vi %f
ran the command vi path/to/file/filename
just fine, but i never saw anything. Running it as gnome-terminal -e 'vi %f'
works.)