-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsettings.vim
More file actions
49 lines (38 loc) · 1.01 KB
/
settings.vim
File metadata and controls
49 lines (38 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
filetype plugin on
set showtabline=1
set autoindent
syntax enable
set ts=4
set shiftwidth=4
set expandtab
set number
set numberwidth=2
set hlsearch
set incsearch
set modeline
set laststatus=2
set softtabstop=4
if($TERM =~ '^xterm' || $TERM =~ '^screen' || $TERM == 'fbterm')
autocmd ColorScheme * so ~/.vim/rmbg.vim
set t_Co=256
color badwolf
else
set t_Co=8
endif
set mouse=a
set cursorline
"Close vim if the only window left is NERDTree
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
"Local vimrc settings
let g:localvimrc_sandbox=0
let g:localvimrc_whitelist='/home/kunev/projects/*/.*'
"Syntastic settings
let g:syntastic_check_on_open=1
let g:syntastic_error_symbol='✗>'
let g:syntastic_style_error_symbol='S✗'
let g:syntastic_warning_symbol='!>'
let g:syntastic_style_warning_symbol='S!'
set listchars=tab:▶-,trail:•
hi SpecialKey ctermbg=none
set fillchars=vert:∥,fold:≣
set rtp+=~/.vim/bundle/powerline/powerline/bindings/vim