Skip to main content
8 events
when toggle format what by license comment
Sep 22, 2017 at 11:49 vote accept luchonacho
Sep 21, 2017 at 13:40 history edited user852573 CC BY-SA 3.0
added 1 character in body
Sep 21, 2017 at 13:22 history edited user852573 CC BY-SA 3.0
added 1091 characters in body
Sep 21, 2017 at 13:17 comment added user852573 @luchonacho You may try to create a custom .desktop file for Vim (maybe in ~/.local/share/applications/my_gvim.desktop). Then find and edit a mimeapps.list file in your home directory (maybe ~/.config/mimeapps.list). I edited the answer to suggest a method, but I don't know if it will work for you.
Sep 21, 2017 at 13:15 history edited user852573 CC BY-SA 3.0
added 1091 characters in body
Sep 21, 2017 at 10:18 comment added luchonacho Thanks! Ok, so I made it work for a given file type by changing MIME types of that type adding the remote-tab-silent option. Do you know how to make this change to work for every MIME type opened with vim? Changing one by one is a daunting task! I opened /etc/mime.types but I see no vim in there (to do some sort of find and replace). I see a lot of mime named files all over the system and not sure which ones are relevant.
Sep 20, 2017 at 18:33 history edited user852573 CC BY-SA 3.0
added 312 characters in body
Sep 20, 2017 at 18:09 history answered user852573 CC BY-SA 3.0