-
Notifications
You must be signed in to change notification settings - Fork 1
/
dotvimrc
53 lines (38 loc) · 1.03 KB
/
dotvimrc
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
" pathogen -- vim plugin bundler
filetype off
call pathogen#runtime_append_all_bundles()
call pathogen#helptags()
" colors
colorscheme wombat
" spacing
set ts=4
set et
set sw=4
" folding
set foldmethod=indent
set foldlevel=99
" task list
map <leader>td <Plug>TaskList
" gundo -- revision history
map <leader>g :GundoToggle<CR>
" highlighting
syntax on " syntax highlighting
filetype on " try to detect filetypes
filetype plugin indent on " enable loading indent file for filetype
" pyflakes -- python syntax checking
let g:pyflakes_use_quickfix = 0
" pep8 checker
let g:pep8_map='<leader>8'
" supertab -- tab completion
au FileType python set omnifunc=pythoncomplete#Complete
let g:SupereTabDefaultCompletionType = "context"
set completeopt=menuone,longest,preview
" nerdtree -- file browser
map <leader>n :NERDTreeToggle<CR>
" ropevim -- for refactoring
map <leader>j :RopeGotoDefinition<CR>
map <leader>r :RopeRename<CR>
" ack -- searching
nmap <leader>a <Esc>:Ack!
" fugitive -- git integration
set statusline+=%{fugitive#statusline()}