aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/INSTALL6
-rw-r--r--gvim.desktop10
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)
26cd plugins/YouCompleteMe 26cd plugins/YouCompleteMe
27python2 ./install.py --clang-completer 27python2 ./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)
32mkdir -p .local/share/Thunar/sendto/
33cp ~/.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]
2Name=Vi IMproved Tab
3Comment=Open file in an existing instance of vi and in a new tab
4MimeType=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++;
5Exec=gvim f -N --remote-tab %F
6Icon=gvim
7Type=Application
8Terminal=false
9X-XClassHintResName=VIM
10Categories=Utility;TextEditor;
..