Linux终端/vim颜色个性化设置技巧

https://www.linuxprobe.com/ubuntu-linux-terminal.html

https://blog.csdn.net/lei_qi/article/details/121694489

https://www.pudn.com/news/6252fcc66caf5961927b9ac2.html

 

/usr/share/vim/vim81/syntax/c.vim

文件末尾添加
" my_config
"highlight Functions
syn match cFunctions "\<[a-zA-Z_][a-zA-Z_0-9]*\>[^()]*)("me=e-2
syn match cFunctions "\<[a-zA-Z_][a-zA-Z_0-9]*\>\s*("me=e-1
hi cFunctions gui=NONE cterm=bold  ctermfg=blue 

 

5000的clfs系统特殊处理:

(1)在.bash_profile文件中加入如下内容:

if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

(2)使用其他机器的.bashrc

posted on 2022-11-03 16:18  lh03061238  阅读(140)  评论(0)    收藏  举报

导航