解决方法
在一个终端
cd ~/.local/share/applications vi gvim-tab.desktop
复制粘贴此代码:
[Desktop Entry] Encoding=UTF-8 Name=GVim Text Editor (Tabs) Comment=Edit text files in a new tab Exec=gvim --remote-tab %F Terminal=false Type=Application Icon=/usr/share/pixmaps/vim.svg Categories=Application;Utility;TextEditor; StartupNotify=true MimeType=text/plain; NoDisplay=true
在Nautilus
Right-Click in a text file Open With Open with a another application Select "GVim Text Editor (Tabs)"
完成