aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc12
1 files changed, 9 insertions, 3 deletions
diff --git a/vimrc b/vimrc
index 2443738..75d7aac 100644
--- a/vimrc
+++ b/vimrc
@@ -23,8 +23,11 @@ Plugin 'gregsexton/matchtag' | " highlights closing ML
23Plugin 'indenthtml.vim' | " works better with mixed html/css/javascript 23Plugin 'indenthtml.vim' | " works better with mixed html/css/javascript
24Plugin 'easymotion/vim-easymotion' | " speed up navigation: try \\w or \\f, then one of the highlighted chars 24Plugin 'easymotion/vim-easymotion' | " speed up navigation: try \\w or \\f, then one of the highlighted chars
25Plugin 'tpope/vim-surround' | " plugin makes cs"' inside a line replace " with ' 25Plugin 'tpope/vim-surround' | " plugin makes cs"' inside a line replace " with '
26Plugin 'Shougo/vimproc.vim'
27Plugin 'Shougo/vimshell.vim'
28Plugin 'jeetsukumaran/vim-buffergator' | " switch buffers with \b or <\-Left> <\-Right>
26 29
27 30let g:airline_powerline_fonts = 1
28 31
29let Tlist_Compact_Format = 1 | " 32let Tlist_Compact_Format = 1 | "
30let Tlist_GainFocus_On_ToggleOpen = 1 | " 33let Tlist_GainFocus_On_ToggleOpen = 1 | "
@@ -85,6 +88,7 @@ set spell spelllang=en,de | " enable spell checker
85set virtualedit=onemore | " one character beyond the line length should be navigatable (options: all,insert,block,onemore) 88set virtualedit=onemore | " one character beyond the line length should be navigatable (options: all,insert,block,onemore)
86set breakindent cpoptions+=n | " when wrapping lines indent wrapped line to align with the previews 89set breakindent cpoptions+=n | " when wrapping lines indent wrapped line to align with the previews
87set linebreak | " do not wrap in the middle of words 90set linebreak | " do not wrap in the middle of words
91set display+=lastline | " do not show the @ symbol in the end of a long line
88set showcmd | " displays status line messages while selecting (matrix size) 92set showcmd | " displays status line messages while selecting (matrix size)
89set nofoldenable | " do not fold code automatically 93set nofoldenable | " do not fold code automatically
90set tags+=~/.vim/systags | " ctags -R -f ~/.vim/systags /usr/include /usr/local/include 94set tags+=~/.vim/systags | " ctags -R -f ~/.vim/systags /usr/include /usr/local/include
@@ -105,6 +109,8 @@ set laststatus=2 | " this is required for airline
105set cmdheight=1 | " controls how many lines the command line has 109set cmdheight=1 | " controls how many lines the command line has
106set relativenumber | " displays current lines line no as zero point from where relative numbers are getting counted 110set relativenumber | " displays current lines line no as zero point from where relative numbers are getting counted
107 111
112set splitbelow | " open new windows below the current one (i find that more intuitive)
113
108if has("multi_byte") 114if has("multi_byte")
109 set encoding=utf-8 | " we need default utf-8 encoding to use cool chars as line break and so on (see below) 115 set encoding=utf-8 | " we need default utf-8 encoding to use cool chars as line break and so on (see below)
110 scriptencoding utf-8 | " tell vim that we are using utf-8 here 116 scriptencoding utf-8 | " tell vim that we are using utf-8 here
@@ -159,10 +165,10 @@ endif
159if has("gui_running") 165if has("gui_running")
160 set mouse=a | " use mouse in gui-mode (which is default) 166 set mouse=a | " use mouse in gui-mode (which is default)
161 set mouseshape+=n:beam,v:beam | " display a text input cursor even in normal and selection mode 167 set mouseshape+=n:beam,v:beam | " display a text input cursor even in normal and selection mode
162 set guicursor=n-v-c:ver30-Cursor-blinkon500-blinkoff500 | " how the caret looks like 168 set guicursor=n-v-c:ver20-Cursor-blinkon500-blinkoff500 | " how the caret looks like
163 set guitablabel=%t | " do not display full path as tabname 169 set guitablabel=%t | " do not display full path as tabname
164 set guioptions+=m | " menu bar 170 set guioptions+=m | " menu bar
165 set guioptions+=T | " toolbar 171 set guioptions-=T | " toolbar
166 set guioptions+=r | " right-hand scroll bar 172 set guioptions+=r | " right-hand scroll bar
167 set guioptions-=c | " use console dialogs instead of popups 173 set guioptions-=c | " use console dialogs instead of popups
168 set guioptions+=a | " autoselect: copy&paste using middleclick 174 set guioptions+=a | " autoselect: copy&paste using middleclick
..