如果不能在vim中完成,请完全更改您的字体。我复制了Ubuntu One Mono字体并使用FontForge对其进行了编辑。请记住更改字体的全名、家族、首选家族、兼容完整(在FontFoge中,它在字体信息的TTF名称下),以便将其作为单独的字体。只需编辑空格字符,在中间有一个点,并将字体保存到~/. fonts现在您可以将其用于您的gvim或整个终端…我复制了“!”字符,删除了该行,并将圆点移到中间。花了5分多钟……
set listset listchars=tab:│\ ,nbsp:·highlight StrangeWhitespace guibg=Red ctermbg=Red" The list is from https://stackoverflow.com/a/37903645 (with `\t`, `\n`, ` `, `\xa0` removed):call matchadd('StrangeWhitespace', '[\x0b\x0c\r\x1c\x1d\x1e\x1f\x85\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u2028\u2029\u202f\u205f\u3000]')
echo '" how-to see the non-visible while spaces" :set listchars=eol:¬,tab:>·,trail:~,extends:>,precedes:<,space:␣" set listchars=eol:$,tab:>-,trail:~,extends:>,precedes:<" :set list" but hei how-to unset the visible tabs ?!" :set nolist' >> ~/.vimrc