-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
67 lines (57 loc) · 1.46 KB
/
.vimrc
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
call pathogen#infect()
call pathogen#helptags()
nnoremap <F11> :TogglePudbBreakPoint<CR>
inoremap <F11> :TogglePudbBreakPoint<CR>
nmap <S-F11> :!pudb %<CR>
nmap <F10> :!python %<CR>
if has('gui_running')
set guifont=Source\ Code\ Pro\ Medium\ 10
set clipboard=unnamed
endif
if has("autocmd")
filetype off
filetype plugin indent off
set runtimepath+=/usr/share/vim/addons
filetype plugin indent on
filetype on
endif
if has("syntax")
syntax off
syntax on
endif
"colorscheme cthulhian
"colorscheme elise
"colorscheme enzyme
"colorscheme fu
"colorscheme getafe
"colorscheme ingretu
colorscheme inkpot
"colorscheme ir_black
"colorscheme leo
"colorscheme northsky
set nocompatible
set bg=dark
set expandtab
set tabstop=4
set softtabstop=4
set shiftwidth=4
set wildmenu
set wildmode=list:longest,full
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
set number
let mapleader = ','
let g:syntastic_python_pylama_args = '-l pep8,pep257,mccabe,pyflakes,pylint'
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_aggregate_errors = 1
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:vim_isort_map = '<C-i>'
autocmd Filetype yaml setlocal ts=2 sts=2 sw=2
autocmd Filetype sls setlocal ts=2 sts=2 sw=2
autocmd FileType python nnoremap <leader>y :0,$!yapf<Cr>