git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc25
1 files changed, 20 insertions, 5 deletions
diff --git a/.vimrc b/.vimrc
index d152829..984e974 100644
--- a/.vimrc
+++ b/.vimrc
@@ -1,14 +1,14 @@
-# vim:syntax=vim
+" vim:syntax=vim
set nocompatible
set ruler
set showmode
set showmatch
set hlsearch
set undolevels=64
-" who came up with the 'brilliant' idea that make mouse input relevant for vim
+" who came up with the 'brilliant' idea that makes mouse input relevant for vim
" inside a terminal AS DEFAULT?
-set mouse=
-set ttymouse=
+set mouse=""
+set ttymouse=""
set shiftwidth=0
set tabstop=4
set ignorecase
@@ -16,6 +16,7 @@ set autoindent
set copyindent
set noexpandtab
au BufReadPost *.inc set syntax=php " .inc will be considered PHP
+autocmd FileType yaml set noexpandtab " force yaml to use single whitespaces
syntax on
filetype plugin on
@@ -24,6 +25,8 @@ set background=dark
" cannot change this over here. f'k. ron is a good compromise.
colorscheme ron
hi Normal ctermbg=NONE guibg=NONE
+hi Special ctermbg=NONE guibg=NONE
+hi EndOfBuffer ctermbg=NONE guibg=NONE
set t_Co=256
let g:airline#extensions#tabline#enabled = 1
@@ -40,7 +43,7 @@ let g:airline_left_sep = 'β–Ά'
let g:airline_right_sep = 'Β«'
let g:airline_right_sep = 'β—€'
let g:airline_symbols.crypt = 'πŸ”’'
-let g:airline_symbols.linenr = '☰'
+let g:airline_symbols.linenr = '☰'
let g:airline_symbols.linenr = '␊'
let g:airline_symbols.linenr = '␀'
let g:airline_symbols.linenr = 'ΒΆ'
@@ -53,3 +56,15 @@ let g:airline_symbols.paste = 'βˆ₯'
let g:airline_symbols.spell = 'Ꞩ'
let g:airline_symbols.notexists = 'Ι†'
let g:airline_symbols.whitespace = 'Ξ'
+
+let airline#extensions#syntastic#enabled = 1
+let g:syntastic_python_checkers = ['pylint']
+set statusline+=%#warningmsg#
+set statusline+=%{SyntasticStatuslineFlag()}
+set statusline+=%*
+let g:syntastic_always_populate_loc_list = 1
+let g:syntastic_auto_loc_list = 1
+let g:syntastic_check_on_open = 1
+let g:syntastic_check_on_wq = 0
+let g:syntastic_error_symbol = "βœ—"
+let g:syntastic_warning_symbol = "⚠"