aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Christian Pohle2015-09-07 03:11:46 +0200
committerMax Christian Pohle2015-09-07 03:11:46 +0200
commit22b8062ef4dc6962715e7fa67ba53197d583f005 (patch)
tree25422c2f1c1b0701dbb321c6c7ee29bd7a48830f
parentb2b9fe7f6739b9970a6d1476e7e8cb7356474c94 (diff)
downloadvim-karlmarks-22b8062ef4dc6962715e7fa67ba53197d583f005.tar.bz2
vim-karlmarks-22b8062ef4dc6962715e7fa67ba53197d583f005.zip
added instructions on how to add vim to thunars sendto menu
-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;
..