linux - 有人可以帮助修复我的 vimrc 配置吗?

标签 linux unix vi vim

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。我想修复它,以便在其他人选择时不显示 >---->----。谢谢。

最佳答案

删除这些行:

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

关于linux - 有人可以帮助修复我的 vimrc 配置吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2481160/

相关文章:

c++ - QGraphicsItem::toGraphicsObject() 在由 QGraphicsPixmapItem 派生的自己的类中返回 0

c++ - Oracle C++ linux 和更多奇怪的东西

c - 在c中提取存档文件

unix - 不包含压缩目录本身的 Zip 命令

search - 如何在 vi 搜索和替换中包含正斜杠

regex - 在 vi/vim 中保留某些 "words"的同时替换

linux - Bash:在其他脚本中运行脚本会引发错误我不会单独运行它们

linux - 对于成功执行的进程使用非零返回代码是否可以?

linux - 在 Linux 中 cd 到文件夹时自动列出所有文件的 Shell 选项

linux - 使用 BASH 最多排列 N 个字母