200字范文,内容丰富有趣,生活中的好帮手!
200字范文 > shell script语法高亮和自动缩进的配置

shell script语法高亮和自动缩进的配置

时间:2021-02-22 15:24:54

相关推荐

shell script语法高亮和自动缩进的配置

编辑/etc/profile文件,在文件末尾加一下内容:

export TERM=xterm-color

接着让其变为全局变量

source /etc/profile

编辑/etc/vimrc文件,在文件末尾添加以下内容:

66 syntax on67 set tabstop=468 set softtabstop=469 set shiftwidth=470 set autoindent71 set nu72 73 set nocompatible74 filetype plugin indent on

75 hi Comment ctermfg =blue ##解决蓝色注释看不清的问题

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。