[英]What do I change in my VIM config to do this? (remove the arrows)
我的文件帶有此“隱形箭頭”,如何完全禁用它?
---> ---> ---> ---
這是我的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>
filetype indent on
filetype on
filetype plugin on
set pastetoggle=<F5>
imap <C-Right> <End>
imap <C-Left> <Home>
imap <C-Down> <PageDown>
imap <C-Up> <PageUp>
nmap <C-Right> <End>
nmap <C-Left> <Home>
nmap <C-Down> <PageDown>
nmap <C-Up> <PageUp>
紅色箭頭是這些線條的組合:
set listchars=tab:>-,trail:~
set list
紅色箭頭是您在listchars
tab:>-
用於listchars
和list
設置處於打開狀態時顯示的文件中的制表符。
擺脫紅色箭頭的最簡單方法是更改
set list
至
set nolist
也可以嘗試:
:help listchars
有關信息
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.