2014-01-21 3 views
0

나는 sontek의 튜토리얼 (http://sontek.net/blog/detail/turning-vim-into-a-modern-python-ide)을 따라 Vim을 파이썬 IDE로 변환했다. 또는(), 내가 두 번 너무 큰 들여 쓰기를하고, 모두 4 개 공간과 표를파이썬 플러그인을 사용하는 Vim의 이중 들여 쓰기

나는 그 빔이

Error detected while processing /home/maxime/.vim/bundle/tasklist/plugin/tasklist.vim: 
line 369: 
E227: mapping already exists for \t 
말을 해결하기 위해 추가해야합니다. 눌렀을 때 (AN identation이 있어야 할 때 Unfortunatately, 후 ENTER

나는 .vimrc

의 시작 부분에 noremap <leader>v <Plug>TaskList을 추가 그래서 내의 vimrc 파일은 다음과 같습니다 해결하는 방법

nnoremap <leader>v <Plug>TaskList 

call pathogen#incubate() 

filetype off 

syntax on 

filetype plugin indent on 

call pathogen#helptags() 

어떤 생각 그거야?

" turns filetype detection off 
" before running pathogen 
" because it is supposed to break 
" things 
filetype off 

" the proper way to run pathogen 
" and index your plugins documentation 
execute pathogen#infect() 
execute pathogen#helptags() 

" turns filetype detection, ft-specific 
" plugins, indent scripts and syntax 
" highlighting on 
filetype plugin indent on 
syntax on 

" your custom mapping 
nnoremap <leader>v <Plug>TaskList 
+0

아 것을 해결 추가! "IDE로서의 빔"밈의 또 다른 피해자. – romainl

답변

1

사실, 너무 오래 내가 모든 플러그인을 제거 한 후였다 내 탭입니다 : 여기

0

~/.vimrc가 보일 것입니다 방법이다. 는

set tabstop=4 
set shiftwidth=4 
set expandtab 

+0

다른 라인의 사용에 대해 설명해 주셔서 감사합니다. 그러나 문제를 해결하지는 못합니다. – maxbellec

+0

어떤 플러그인을 설치하셨습니까? – romainl

+0

내가 준 링크에 충고 한 모든 것, 그래서 도망자, 저격수, 서라운드, 스퍼터브, 미니 부두 엑스퍼트, 커맨드 t, 대답, 건도, pydoc, pep8, py.test, 메이크 그린, tasklist, nerdtree, 로페 방 – maxbellec