aboutsummaryrefslogtreecommitdiff
path: root/.vim/doc/INSTALL
blob: 50a2f08554f3d22f0a74f92cfc29ad27d0898c6e (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
# 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 plugins/YouCompleteMe
python2 ./install.py --clang-completer


# step 7)
# 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 8)
# 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/


..