diff options
| -rw-r--r-- | doc/INSTALL | 6 | ||||
| -rw-r--r-- | gvim.desktop | 10 |
2 files changed, 16 insertions, 0 deletions
diff --git a/doc/INSTALL b/doc/INSTALL index 38068d5..1d664d3 100644 --- a/doc/INSTALL +++ b/doc/INSTALL | |||
| @@ -25,3 +25,9 @@ vim -c ":au! SpellFileMissing" | |||
| 25 | # build YouCompleteMe (if you plan to use it) | 25 | # build YouCompleteMe (if you plan to use it) |
| 26 | cd plugins/YouCompleteMe | 26 | cd plugins/YouCompleteMe |
| 27 | python2 ./install.py --clang-completer | 27 | python2 ./install.py --clang-completer |
| 28 | |||
| 29 | |||
| 30 | # step 7) | ||
| 31 | # add gvim functionality to thunar, so that sendto can be used to open a file in an existing vim instance (as a tab in this case) | ||
| 32 | mkdir -p .local/share/Thunar/sendto/ | ||
| 33 | cp ~/.vim/gvim.desktop ~/.local/share/Thunar/sendto/ | ||
diff --git a/gvim.desktop b/gvim.desktop new file mode 100644 index 0000000..37c6e58 --- /dev/null +++ b/gvim.desktop | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | [Desktop Entry] | ||
| 2 | Name=Vi IMproved Tab | ||
| 3 | Comment=Open file in an existing instance of vi and in a new tab | ||
| 4 | MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; | ||
| 5 | Exec=gvim f -N --remote-tab %F | ||
| 6 | Icon=gvim | ||
| 7 | Type=Application | ||
| 8 | Terminal=false | ||
| 9 | X-XClassHintResName=VIM | ||
| 10 | Categories=Utility;TextEditor; | ||
