spf13-vim disable tab highlighting

那年仲夏 提交于 2020-01-04 04:11:25

问题


I'm an absolut vim-newbie so I thought I'll try it with some preconfigured distribution like spf13-vim. So to my question, I would like to disable the "tab-highlighting" because I find it kind of distracting... I think this picture should make clear what I mean


回答1:


You can toggle them on/off with ,ig.




回答2:


Put a line below in your ~/.vimrc.local or ~/.vimrc.before.local to disable indent guide by default. You can <leader>ig as well.

let g:indent_guides_enable_on_vim_startup = 0



回答3:


write set nolist in your .vimrc.local to turn it off.

see :h list

'list'          boolean (default off)

List mode: Show tabs as CTRL-I is displayed, display $ after end of
line.  Useful to see the difference between tabs and spaces and for
trailing blanks.  Further changed by the 'listchars' option.


来源:https://stackoverflow.com/questions/28904249/spf13-vim-disable-tab-highlighting

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!