From 91be005a62396fa922c6264c011ad93ef95b9e2d Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Sat, 9 Sep 2017 19:09:16 +0200 Subject: updated INSTALL instructions and added symbolic link for neovim --- doc/INSTALL | 51 +++++++++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 24 deletions(-) (limited to 'doc/INSTALL') diff --git a/doc/INSTALL b/doc/INSTALL index 0d2d95f..9cab2dd 100644 --- a/doc/INSTALL +++ b/doc/INSTALL @@ -2,42 +2,45 @@ # this should briefly show you how to install this bundle -# download the current version using git -git clone http://git.entwicklerseite.de/vim .vim/ +# [required steps] -# create a symbolic link to the downloaded vim.rc in you $HOME-directory -ln -s ~/.vim/vimrc ~/.vimrc +# Download the current version using git (probably you already have!) +git clone http://git.entwicklerseite.de/vim ~/.vim -# Get Vundle as a Git submodule +# Get the required submodule(s) git submodule update --init --recursive -# fix errors caused by the different vim version you might be using and define -# the spell checkers language. Starting Vim will show you which lines are not -# supported on your vim installation so that you can fix them: -vim vimrc +# start vim for the first time and use the plugin manager to install required plugins +vim -c ":PlugInstall" # build YouCompleteMe -cd bundle/YouCompleteMe -python2 ./install.py --clang-completer +cd ~/.vim/plugged/YouCompleteMe +python ./install.py --clang-completer -# download plugins and spell file for your language -vim -c ":VundleUpdate" -# vim -c ":set spell" -# vim +set\ spell # < maybe that works as well -:call spellfile#LoadFile(expand("de")) +# [optional steps] +# create a symbolic link to the downloaded vim.rc in you $HOME-directory +ln -s ~/.vim/vimrc ~/.vimrc -# create an entry in file managers right click menu 'open with' allowing you to -# open the file in a vim tab -mkdir -p .local/share/Thunar/sendto/ -cp ~/.vim/gvim-tab.desktop ~/.local/share/Thunar/sendto/ +# gvim: make menu bar more fancy +ln -s ~/.vim/gtk-3.0.css ~/.config/gtk-3.0/gtk.css -# 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) -cp ~/.vim/gvim-tab.desktop ~/.local/share/applications/ -update-desktop-database ~/.local/share/applications/ +# if you do not have working gvim start menu entries, try: +ln -s ~/.vim/gvim-tab.desktop ~/.local/share/applications/ +update-desktop-database ~/.local/share/applications/ +# Thunar file manager specific: create an entry in the sendto menu... +mkdir -p ~/.local/share/Thunar/sendto/ +ln -s ~/.vim/gvim-tab.desktop ~/.local/share/Thunar/sendto/ + + + +# [random/unfinished stuff] +# download plugins and spell file for your language +# vim -c ":set spell" +# vim +set\ spell # < maybe that works as well +# :call spellfile#LoadFile(expand("de")) # vim: noai:ts=2:sw=2 filetype=csh nolist -- cgit v1.2.3