blob: cbe9e1faa0178b2e72982e9ea24346deabedff62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# INSTALL
# this should briefly show you how to install this bundle
#
# step 1)
# download the current version using git
git clone http://git.entwicklerseite.de/vim .vim/
# step 2)
# create a symbolic link to the downloaded vim.rc in you $HOME-directory
ln -s .vim/vimrc .vimrc
# step 3)
# get vim submodules, namely this is just vundle as this will download the rest by itsown
git submodule update --init --recursive
# step 4)
# 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
# step 5)
# download plugins and spell file for your language
vim -c ":VundleUpdate"
vim -c ":set spell"
# vim +set\ spell # < maybe that works as well
# step 6)
# build YouCompleteMe (if you plan to use it)
cd bundle/YouCompleteMe
python2 ./install.py --clang-completer
cd ~/.vim/
# step 7)
cd bundle/color-coded
cmake .
make
cd ~/.vim/
# step 8)
# 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/
# step 9)
# 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/
|