Max pythonomnicomplete not annoying
git-svn-id: http://photonzero.com/dotfiles/trunk@86 23f722f6-122a-0410-8cef-c75bd312dd78
This commit is contained in:
parent
01886340e4
commit
1732d28374
2 changed files with 10 additions and 1 deletions
|
|
@ -43,6 +43,7 @@ alias la='ls -alF'
|
|||
#alias l='ls -CF'
|
||||
|
||||
alias vi='vim'
|
||||
alias em='emacs'
|
||||
alias grep="grep --color=auto"
|
||||
alias screen="screen -R"
|
||||
alias dvtm="dvtm -m \"^w\""
|
||||
|
|
|
|||
10
.vimrc
10
.vimrc
|
|
@ -30,6 +30,14 @@ set wildmenu
|
|||
set wildmode=list:longest
|
||||
set ruler
|
||||
|
||||
set splitbelow
|
||||
set completeopt=menu,menuone,longest
|
||||
" If you prefer the Omni-Completion tip window to close when a selection is
|
||||
" made, these lines close it on movement in insert mode or when leaving
|
||||
" insert mode
|
||||
autocmd CursorMovedI * if pumvisible() == 0|pclose|endif
|
||||
autocmd InsertLeave * if pumvisible() == 0|pclose|endif
|
||||
|
||||
" Some stuff for console 256 Colors
|
||||
set t_Co=256
|
||||
set t_Sf=ESC[3%dm
|
||||
|
|
@ -52,7 +60,7 @@ runtime macros/matchit.vim
|
|||
autocmd FileType ruby,eruby set omnifunc=rubycomplete#Complete
|
||||
autocmd FileType python set tags+=$HOME/.vim/tags/python.ctags
|
||||
"autocmd FileType python set omnifunc=pythoncomplete#Complete
|
||||
"autocmd FileType python call SuperTabSetCompletionType("<C-X><C-O>")
|
||||
autocmd FileType python call SuperTabSetCompletionType("<C-X><C-O>")
|
||||
let python_highlight_all = 1
|
||||
let g:Tb_MaxSize=0
|
||||
let g:Tb_MapCTabSwitchBufs = 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue