Created
January 28, 2014 09:03
-
-
Save Mehanik/8664353 to your computer and use it in GitHub Desktop.
Edit files in opened Vim session/new Vim tab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat .local/share/applications/gvim-tab.desktop | |
[Desktop Entry] | |
Encoding=UTF-8 | |
Name=GVim (Open in new tab) | |
Comment=Edit in a new tab | |
Exec=gvim --remote-tab-silent %F | |
Terminal=false | |
Type=Application | |
Icon=/usr/share/pixmaps/vim.svg | |
Categories=Application;Utility;TextEditor; | |
StartupNotify=true | |
MimeType=text/plain; | |
NoDisplay=true | |
StartupNotify=false | |
$ cat .local/share/applications/gvim-existing.desktop | |
[Desktop Entry] | |
Encoding=UTF-8 | |
Name=GVim (Open in existing) | |
Comment=Edit in opened Vim buffer | |
Exec=gvim --remote-silent %F | |
Terminal=false | |
Type=Application | |
Icon=/usr/share/pixmaps/vim.svg | |
Categories=Application;Utility;TextEditor; | |
StartupNotify=true | |
MimeType=text/plain; | |
NoDisplay=true | |
StartupNotify=false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment