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 +++++++++++++++++++++++++++------------------------ gtk-3.0.css | 5 +++++ init.vim | 1 + nvim.desktop | 2 +- 4 files changed, 34 insertions(+), 25 deletions(-) create mode 120000 init.vim 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 diff --git a/gtk-3.0.css b/gtk-3.0.css index 10252a3..610edf0 100644 --- a/gtk-3.0.css +++ b/gtk-3.0.css @@ -27,3 +27,8 @@ border-radius:1em; } + +/* +toolbar button { +notebook tab { +*/ diff --git a/init.vim b/init.vim new file mode 120000 index 0000000..c9a3c9c --- /dev/null +++ b/init.vim @@ -0,0 +1 @@ +vimrc \ No newline at end of file diff --git a/nvim.desktop b/nvim.desktop index 6d63814..21f0090 100644 --- a/nvim.desktop +++ b/nvim.desktop @@ -3,7 +3,7 @@ Version=1.0 Type=Application Name=Vim Comment= -Exec=xfce4-terminal --icon /usr/share/icons/HighContrast/256x256/apps/vim.png -T 'nvim' -e '/bin/bash -i -c "screen nvr ."' --fullscreen +Exec=xfce4-terminal --icon /usr/share/icons/HighContrast/256x256/apps/vim.png -T 'nvim' -e '/bin/bash -i -c "env TERM=gnome-256color screen nvr ."' --fullscreen Icon=/usr/share/icons/HighContrast/256x256/apps/vim.png Path= Terminal=false -- cgit v1.2.3