2010-03-19 53 views
0
set nohlsearch 
set ai 
set bg=dark 
set showmatch 
highlight SpecialKey ctermfg=DarkGray 
set listchars=tab:>-,trail:~ 
set list 
autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class 
set tabstop=4 
set shiftwidth=4 
set expandtab 
set autoindent 
set smartindent 
syntax on 
set listchars=tab:>- 
set listchars+=trail:. 
set ignorecase 
set smartcase 
map <C-t><up> :tabr<cr> 
map <C-t><down> :tabl<cr> 
map <C-t><left> :tabp<cr> 
map <C-t><right> :tabn<cr> 
map <F1> <Esc> 
imap <F1> <Esc> 
set pastetoggle=<F5> 

这是我的vimrc。我想修复它,以便它不显示> ----> ----当其他人选项卡时。谢谢。有人可以帮助修复我的vimrc配置吗?

回答

1
set list 

是这样做的。您可以

:set nolist 

如果打扰你,但我建议保持它的Python文件(你可能会被编码蟒看着自动命令)。即。 ...学会去爱它。如果它是一个常规问题,则创建一个映射。

也有

:retab 

如果您有expandtab设置消除标签。

2

删除这些行:

set listchars=tab:>-,trail:~ 
set listchars=tab:>- 
+0

也许是'设置列表'。除非你想显示新的行。 – 2010-03-20 00:07:46

相关问题