diff options
Diffstat (limited to 'doc/INSTALL')
-rw-r--r-- | doc/INSTALL | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/doc/INSTALL b/doc/INSTALL new file mode 100644 index 0000000..50a2f08 --- /dev/null +++ b/doc/INSTALL | |||
@@ -0,0 +1,42 @@ | |||
1 | # INSTALL | ||
2 | # this should briefly show you how to install this bundle | ||
3 | # | ||
4 | # step 1) | ||
5 | # download the current version using git | ||
6 | git clone http://git.entwicklerseite.de/vim .vim/ | ||
7 | |||
8 | # step 2) | ||
9 | # create a symbolic link to the downloaded vim.rc in you $HOME-directory | ||
10 | ln -s .vim/vimrc .vimrc | ||
11 | |||
12 | # step 3) | ||
13 | # get vim submodules, namely this is just vundle as this will download the rest by itsown | ||
14 | git submodule update --init --recursive | ||
15 | |||
16 | # step 4) | ||
17 | # 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: | ||
18 | vim vimrc | ||
19 | |||
20 | # step 5) | ||
21 | # download plugins and spell file for your language | ||
22 | vim -c ":VundleUpdate" | ||
23 | vim -c ":set spell" | ||
24 | # vim +set\ spell # < maybe that works as well | ||
25 | |||
26 | # step 6) | ||
27 | # build YouCompleteMe (if you plan to use it) | ||
28 | cd plugins/YouCompleteMe | ||
29 | python2 ./install.py --clang-completer | ||
30 | |||
31 | |||
32 | # step 7) | ||
33 | # create an entry in file managers right click menu 'open with' allowing you to open the file in a vim tab | ||
34 | mkdir -p .local/share/Thunar/sendto/ | ||
35 | cp ~/.vim/gvim-tab.desktop ~/.local/share/Thunar/sendto/ | ||
36 | |||
37 | # step 8) | ||
38 | # 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) | ||
39 | cp ~/.vim/gvim-tab.desktop ~/.local/share/applications/ | ||
40 | update-desktop-database ~/.local/share/applications/ | ||
41 | |||
42 | |||