aboutsummaryrefslogtreecommitdiff
path: root/doc/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'doc/INSTALL')
-rw-r--r--doc/INSTALL42
1 files changed, 16 insertions, 26 deletions
diff --git a/doc/INSTALL b/doc/INSTALL
index cbe9e1f..0025cca 100644
--- a/doc/INSTALL
+++ b/doc/INSTALL
@@ -1,49 +1,39 @@
1# INSTALL 1# INSTALL
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# step 1) 4
5# download the current version using git 5# download the current version using git
6git clone http://git.entwicklerseite.de/vim .vim/ 6git clone http://git.entwicklerseite.de/vim .vim/
7 7
8# step 2)
9# create a symbolic link to the downloaded vim.rc in you $HOME-directory 8# create a symbolic link to the downloaded vim.rc in you $HOME-directory
10ln -s .vim/vimrc .vimrc 9ln -s ~/.vim/vimrc ~/.vimrc
11 10
12# step 3) 11# Get Vundle as a Git submodule
13# get vim submodules, namely this is just vundle as this will download the rest by itsown
14git submodule update --init --recursive 12git submodule update --init --recursive
15 13
16# step 4) 14# fix errors caused by the different vim version you might be using and define
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: 15# the spell checkers language. Starting Vim will show you which lines are not
16# supported on your vim installation so that you can fix them:
18vim vimrc 17vim vimrc
19 18
20# step 5) 19# build YouCompleteMe
20cd bundle/YouCompleteMe
21python2 ./install.py --clang-completer
22
21# download plugins and spell file for your language 23# download plugins and spell file for your language
22vim -c ":VundleUpdate" 24vim -c ":VundleUpdate"
23vim -c ":set spell" 25vim -c ":set spell"
24# vim +set\ spell # < maybe that works as well 26# vim +set\ spell # < maybe that works as well
25 27
26# step 6) 28# create an entry in file managers right click menu 'open with' allowing you to
27# build YouCompleteMe (if you plan to use it) 29# open the file in a vim tab
28cd bundle/YouCompleteMe
29python2 ./install.py --clang-completer
30cd ~/.vim/
31
32
33# step 7)
34cd bundle/color-coded
35cmake .
36make
37cd ~/.vim/
38
39# step 8)
40# create an entry in file managers right click menu 'open with' allowing you to open the file in a vim tab
41mkdir -p .local/share/Thunar/sendto/ 30mkdir -p .local/share/Thunar/sendto/
42cp ~/.vim/gvim-tab.desktop ~/.local/share/Thunar/sendto/ 31cp ~/.vim/gvim-tab.desktop ~/.local/share/Thunar/sendto/
43 32
44# step 9) 33# add gvim functionality to thunar, so that sendto can be used to open a file
45# 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) 34# in an existing vim instance (as a tab in this case)
46cp ~/.vim/gvim-tab.desktop ~/.local/share/applications/ 35cp ~/.vim/gvim-tab.desktop ~/.local/share/applications/
47update-desktop-database ~/.local/share/applications/ 36update-desktop-database ~/.local/share/applications/
48 37
49 38
39# vim: noai:ts=2:sw=2 filetype=csh nolist
..