-
Notifications
You must be signed in to change notification settings - Fork 1
/
.vimrc
72 lines (55 loc) · 1.51 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
68
69
70
71
72
line features
set number ruler
" enable backspace
set backspace=indent,eol,start
" command composition
set showcmd
" menu
set wildmenu
" pathogen
let g:pathogen_disabled = [ 'pathogen' ] " don't load self
let g:LustyJugglerSuppressRubyWarning = 1
call pathogen#infect() " load everyhting else
call pathogen#helptags() " load plugin help files
" wrapping
set textwidth=80
" indentation
set autoindent
set ts=4 shiftwidth=4 expandtab
" visual
highlight Normal ctermbg=black
set background=dark
set cursorline
set t_Co=256
" syntax highlighting
syntax on
filetype on " enables filetype detection
filetype plugin indent on " enables filetype specific plugins
" colorpack
colorscheme vibrantink
" gundo
nnoremap <C-u> :GundoToggle<CR>
let g:gundo_close_on_revert = 1
" lusty
set hidden
" supertab
au FileType python set omnifunc=pythoncomplete#Complete
let g:SuperTabDefaultCompletionType = "context"
set completeopt=menuone,longest,preview
" nerdtree
map <C-n> :NERDTreeToggle<CR>
" pymode
let g:pymode_rope=0
let g:pymode_lint_on_fly=1
let g:pymode_folding = 0
let g:pymode_lint_checkers = ['flake8', 'mccabe', 'pep8', 'pylint', 'pyflakes']
let g:pymode_lint_ignore = ["D203","C901","W0612","E402"]
let g:pymode_options_max_line_length=79
let g:pymode_lint_message = 1
" display current file
set laststatus=2
set statusline+=%F\ col:\ %c
" Syntastic
" let g:syntastic_always_populate_loc_list = 1
" let g:syntastic_enable_signs = 1
let g:syntastic_python_checkers = ['']