diff options
author | Max Christian Pohle | 2016-09-22 10:27:44 +0200 |
---|---|---|
committer | Max Christian Pohle | 2016-09-22 10:27:44 +0200 |
commit | 857fe529c10eed4fe9cef365712c9a4d8caa2fd9 (patch) | |
tree | 3a568ee85903c07c5b4c01b90ca9b851b06d4293 | |
parent | 8be9dd7508c3ba3bbace6b34e8f2ddc782134d53 (diff) | |
download | vim-857fe529c10eed4fe9cef365712c9a4d8caa2fd9.tar.bz2 vim-857fe529c10eed4fe9cef365712c9a4d8caa2fd9.zip |
cleaned up
doc/INSTALL:
color-coded is no longer used, because its features are also provided by
YouCompleteMe. The installation method got simpler and I reordered the
commands for faster deployment.
Dropped nelstroms colorscheme mac_classic from the git submodule list,
because that can also be installed by Vundle
Included 'syntastic', which highlights syntactic errors in many
languages and comes in very handy when using LaTeX
-rw-r--r-- | .gitmodules | 3 | ||||
m--------- | colors/nelstrom | 0 | ||||
-rw-r--r-- | doc/INSTALL | 42 | ||||
-rw-r--r-- | vimrc | 11 |
4 files changed, 27 insertions, 29 deletions
diff --git a/.gitmodules b/.gitmodules index 8e27078..75554b2 100644 --- a/.gitmodules +++ b/.gitmodules | |||
@@ -1,6 +1,3 @@ | |||
1 | [submodule "bundle/Vundle.vim"] | 1 | [submodule "bundle/Vundle.vim"] |
2 | path = bundle/Vundle.vim | 2 | path = bundle/Vundle.vim |
3 | url = https://github.com/VundleVim/Vundle.vim.git | 3 | url = https://github.com/VundleVim/Vundle.vim.git |
4 | [submodule "colors/nelstrom"] | ||
5 | path = colors/nelstrom | ||
6 | url = https://github.com/nelstrom/vim-mac-classic-theme.git | ||
diff --git a/colors/nelstrom b/colors/nelstrom deleted file mode 160000 | |||
Subproject 8bf9e3d96a0988849e8dd9954d443857191c863 | |||
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 |
6 | git clone http://git.entwicklerseite.de/vim .vim/ | 6 | git 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 |
10 | ln -s .vim/vimrc .vimrc | 9 | ln -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 | ||
14 | git submodule update --init --recursive | 12 | git 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: | ||
18 | vim vimrc | 17 | vim vimrc |
19 | 18 | ||
20 | # step 5) | 19 | # build YouCompleteMe |
20 | cd bundle/YouCompleteMe | ||
21 | python2 ./install.py --clang-completer | ||
22 | |||
21 | # download plugins and spell file for your language | 23 | # download plugins and spell file for your language |
22 | vim -c ":VundleUpdate" | 24 | vim -c ":VundleUpdate" |
23 | vim -c ":set spell" | 25 | vim -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 |
28 | cd bundle/YouCompleteMe | ||
29 | python2 ./install.py --clang-completer | ||
30 | cd ~/.vim/ | ||
31 | |||
32 | |||
33 | # step 7) | ||
34 | cd bundle/color-coded | ||
35 | cmake . | ||
36 | make | ||
37 | cd ~/.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 | ||
41 | mkdir -p .local/share/Thunar/sendto/ | 30 | mkdir -p .local/share/Thunar/sendto/ |
42 | cp ~/.vim/gvim-tab.desktop ~/.local/share/Thunar/sendto/ | 31 | cp ~/.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) |
46 | cp ~/.vim/gvim-tab.desktop ~/.local/share/applications/ | 35 | cp ~/.vim/gvim-tab.desktop ~/.local/share/applications/ |
47 | update-desktop-database ~/.local/share/applications/ | 36 | update-desktop-database ~/.local/share/applications/ |
48 | 37 | ||
49 | 38 | ||
39 | # vim: noai:ts=2:sw=2 filetype=csh nolist | ||
@@ -53,9 +53,20 @@ Plugin 'loremipsum' | " Sample text generator | |||
53 | " Autocompleter ======================================. | 53 | " Autocompleter ======================================. |
54 | Plugin 'Valloric/MatchTagAlways' | 54 | Plugin 'Valloric/MatchTagAlways' |
55 | Plugin 'Valloric/YouCompleteMe' | 55 | Plugin 'Valloric/YouCompleteMe' |
56 | Plugin 'scrooloose/syntastic' | ||
57 | set statusline+=%#warningmsg# | ||
58 | set statusline+=%{SyntasticStatuslineFlag()} | ||
59 | set statusline+=%* | ||
60 | let g:syntastic_always_populate_loc_list = 1 | ||
61 | let g:syntastic_auto_loc_list = 1 | ||
62 | let g:syntastic_check_on_open = 1 | ||
63 | let g:syntastic_check_on_wq = 0 | ||
56 | Plugin 'davidhalter/jedi-vim' | " jedi gets used to display python function signatures | 64 | Plugin 'davidhalter/jedi-vim' | " jedi gets used to display python function signatures |
57 | let g:jedi#show_call_signatures_delay = 0 | 65 | let g:jedi#show_call_signatures_delay = 0 |
58 | let g:jedi#completions_enabled = 0 | 66 | let g:jedi#completions_enabled = 0 |
67 | let g:LatexBox_viewer = "evince" | ||
68 | let g:LatexBox_latexmk_preview_continuously = 1 | ||
69 | |||
59 | " let g:jedi#show_call_signatures = "2" | 70 | " let g:jedi#show_call_signatures = "2" |
60 | 71 | ||
61 | " Disabled ===========================================. | 72 | " Disabled ===========================================. |