-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
48 lines (37 loc) · 908 Bytes
/
.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
" Disable plugins
let g:pathogen_disabled = ['pyflakes-vim', 'pep8', 'pythonhelper', 'python']
call pathogen#infect()
" Debian can be a pain sometimes; reload the ft modules first
filetype plugin indent on
set backup backupdir=~/.vim/backup
set directory=~/.vim/tmp
" Reload VIM from source
" nmap <Leader>s :source $MYVIMRC
" nmap <Leader>v :e $MYVIMRC
" Dark backgrounds work great with solarized
set background=dark
colorscheme solarized
" set nocompatible
" Colors to 256
set t_Co=256
" Setup space-based tabs
set expandtab
set tabstop=4
set softtabstop=4
set autoindent
set shiftwidth=4
" Also retab if necessary
retab
" Enable ruler
set ruler
set laststatus=2
set number
"
" Set the width to wrap at 80
set textwidth=79
" Key for show python documentation
let g:pymode_doc_key = 'K'
" Run linter on the fly
let g:pymode_lint_onfly = 0
"let g:pymode_lint_message = 0
let g:pymode_folding = 0