aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Christian Pohle2016-09-22 10:27:44 +0200
committerMax Christian Pohle2016-09-22 10:27:44 +0200
commit857fe529c10eed4fe9cef365712c9a4d8caa2fd9 (patch)
tree3a568ee85903c07c5b4c01b90ca9b851b06d4293
parent8be9dd7508c3ba3bbace6b34e8f2ddc782134d53 (diff)
downloadvim-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--.gitmodules3
m---------colors/nelstrom0
-rw-r--r--doc/INSTALL42
-rw-r--r--vimrc11
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
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
diff --git a/vimrc b/vimrc
index 55f4d8c..d832e82 100644
--- a/vimrc
+++ b/vimrc
@@ -53,9 +53,20 @@ Plugin 'loremipsum' | " Sample text generator
53" Autocompleter ======================================. 53" Autocompleter ======================================.
54Plugin 'Valloric/MatchTagAlways' 54Plugin 'Valloric/MatchTagAlways'
55Plugin 'Valloric/YouCompleteMe' 55Plugin 'Valloric/YouCompleteMe'
56Plugin 'scrooloose/syntastic'
57set statusline+=%#warningmsg#
58set statusline+=%{SyntasticStatuslineFlag()}
59set statusline+=%*
60let g:syntastic_always_populate_loc_list = 1
61let g:syntastic_auto_loc_list = 1
62let g:syntastic_check_on_open = 1
63let g:syntastic_check_on_wq = 0
56Plugin 'davidhalter/jedi-vim' | " jedi gets used to display python function signatures 64Plugin 'davidhalter/jedi-vim' | " jedi gets used to display python function signatures
57let g:jedi#show_call_signatures_delay = 0 65let g:jedi#show_call_signatures_delay = 0
58let g:jedi#completions_enabled = 0 66let g:jedi#completions_enabled = 0
67let g:LatexBox_viewer = "evince"
68let 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 ===========================================.
..