-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
52 lines (36 loc) · 847 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
49
50
51
52
set nocompatible
syntax on
filetype off
call plug#begin('~/.vim/plugged')
Plug 'preservim/nerdtree'
Plug 'preservim/tagbar'
Plug 'bling/vim-airline'
Plug 'python-mode/python-mode'
Plug 'tomasr/molokai'
call plug#end()
filetype plugin indent on
nmap <F3> :NERDTreeToggle<CR>
nmap <F4> :TagbarToggle<CR>
colo molokai
highlight Pmenu ctermbg=darkgray
highlight Pmenu ctermfg=grey
autocmd CursorMovedI * if pumvisible() == 0|pclose|endif
autocmd InsertLeave * if pumvisible() == 0|pclose|endif
set colorcolumn=80
set hlsearch
set incsearch
set ignorecase
set smartcase
set nobackup
set nowritebackup
set noswapfile
set nu
set ls=2
set tabstop=4
set softtabstop=4
set shiftwidth=4
set shiftround
set expandtab
set backspace=2 " make backspace work like most other apps
set backspace=indent,eol,start
let g:pymode_lint_ignore = ["E501"]