-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.vimrc
More file actions
25 lines (24 loc) · 721 Bytes
/
.vimrc
File metadata and controls
25 lines (24 loc) · 721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
"***********
"tagelist
let Tlist_Ctags_Cmd="/usr/bin/ctags"
let Tlist_Exit_OnlyWindow=1
let Tlist_Auto_Open=1
let Tlist_File_Fold_Auto_Close =1
"***********
"pythoncomplete"
filetype plugin on
autocmd FileType python
set omnifunc=pythoncomplete#Complete
let g:pydiction_location ='/home/lei/.vim/bundle/pydiction/complete-dict'
"***********
"***********
"" 设置NerdTree
noremap <F2> <ESC>:TlistToggle<CR>
map <F3> :NERDTreeMirror<CR>
map <F3> :NERDTreeToggle<CR>
map <F5> :w<cr>:!python %<cr>
map <F6> :w<cr>:!pylint %<cr>
map <F7> :w<cr>:!python -m "cProfile" %<cr>
map <F8> :w<cr>:!python -m pdb %<cr>
ab ph #!/bin/env python<newline># -*- coding:utf-8 -*-<newline><newline>if __name__ == "__main__":
map \ I#<ESC>