I am currently using Vim as the default text editor in Ubuntu Gnome 16.04. However, Vim opens by default with Gnome Terminal, and I would like to know if it is possible that Vim would open directly with the Tilix terminal instead.
I tried editing the vim.desktop file in /usr/share/applications so it would open with Tilix. However, with this approach, when I try to open a text or any other file with Vim, it does not appear as a choice on the editors list.
Any help would be great!
Thanks in advance, Iago
Exec=vim %F
byExec=tilix -e vim %F
(and possibly changingTerminal=true
toTerminal=false
) ought to work. FWIW I'd also recommend copying/usr/share/applications/vim.desktop
to~/.local/share/applications/vim.desktop
and modifying that instead.