diff options
Diffstat (limited to 'doc/INSTALL')
-rw-r--r-- | doc/INSTALL | 51 |
1 files changed, 27 insertions, 24 deletions
diff --git a/doc/INSTALL b/doc/INSTALL index 0d2d95f..9cab2dd 100644 --- a/doc/INSTALL +++ b/doc/INSTALL | |||
@@ -2,42 +2,45 @@ | |||
2 | # this should briefly show you how to install this bundle | 2 | # this should briefly show you how to install this bundle |
3 | 3 | ||
4 | 4 | ||
5 | # download the current version using git | 5 | # [required steps] |
6 | git clone http://git.entwicklerseite.de/vim .vim/ | ||
7 | 6 | ||
8 | # create a symbolic link to the downloaded vim.rc in you $HOME-directory | 7 | # Download the current version using git (probably you already have!) |
9 | ln -s ~/.vim/vimrc ~/.vimrc | 8 | git clone http://git.entwicklerseite.de/vim ~/.vim |
10 | 9 | ||
11 | # Get Vundle as a Git submodule | 10 | # Get the required submodule(s) |
12 | git submodule update --init --recursive | 11 | git submodule update --init --recursive |
13 | 12 | ||
14 | # fix errors caused by the different vim version you might be using and define | 13 | # start vim for the first time and use the plugin manager to install required plugins |
15 | # the spell checkers language. Starting Vim will show you which lines are not | 14 | vim -c ":PlugInstall" |
16 | # supported on your vim installation so that you can fix them: | ||
17 | vim vimrc | ||
18 | 15 | ||
19 | # build YouCompleteMe | 16 | # build YouCompleteMe |
20 | cd bundle/YouCompleteMe | 17 | cd ~/.vim/plugged/YouCompleteMe |
21 | python2 ./install.py --clang-completer | 18 | python ./install.py --clang-completer |
22 | 19 | ||
23 | # download plugins and spell file for your language | ||
24 | vim -c ":VundleUpdate" | ||
25 | # vim -c ":set spell" | ||
26 | # vim +set\ spell # < maybe that works as well | ||
27 | 20 | ||
28 | :call spellfile#LoadFile(expand("de")) | ||
29 | 21 | ||
30 | 22 | ||
23 | # [optional steps] | ||
24 | # create a symbolic link to the downloaded vim.rc in you $HOME-directory | ||
25 | ln -s ~/.vim/vimrc ~/.vimrc | ||
31 | 26 | ||
32 | # create an entry in file managers right click menu 'open with' allowing you to | 27 | # gvim: make menu bar more fancy |
33 | # open the file in a vim tab | 28 | ln -s ~/.vim/gtk-3.0.css ~/.config/gtk-3.0/gtk.css |
34 | mkdir -p .local/share/Thunar/sendto/ | ||
35 | cp ~/.vim/gvim-tab.desktop ~/.local/share/Thunar/sendto/ | ||
36 | 29 | ||
37 | # add gvim functionality to thunar, so that sendto can be used to open a file | 30 | # if you do not have working gvim start menu entries, try: |
38 | # in an existing vim instance (as a tab in this case) | 31 | ln -s ~/.vim/gvim-tab.desktop ~/.local/share/applications/ |
39 | cp ~/.vim/gvim-tab.desktop ~/.local/share/applications/ | 32 | update-desktop-database ~/.local/share/applications/ |
40 | update-desktop-database ~/.local/share/applications/ | ||
41 | 33 | ||
34 | # Thunar file manager specific: create an entry in the sendto menu... | ||
35 | mkdir -p ~/.local/share/Thunar/sendto/ | ||
36 | ln -s ~/.vim/gvim-tab.desktop ~/.local/share/Thunar/sendto/ | ||
37 | |||
38 | |||
39 | |||
40 | # [random/unfinished stuff] | ||
41 | # download plugins and spell file for your language | ||
42 | # vim -c ":set spell" | ||
43 | # vim +set\ spell # < maybe that works as well | ||
44 | # :call spellfile#LoadFile(expand("de")) | ||
42 | 45 | ||
43 | # vim: noai:ts=2:sw=2 filetype=csh nolist | 46 | # vim: noai:ts=2:sw=2 filetype=csh nolist |