我的控制台没有颜色呢?
-
- 帖子: 62
- 注册时间: 2005-05-31 9:20
我的控制台没有颜色呢?
我发现我的控制台界面,没有颜色的,很不方便,分不清楚那个是目录,那个是什么文件?是我机器的问题,还是ubuntu下都这样?
-
- 帖子: 3025
- 注册时间: 2005-05-07 23:57
- 联系:
-
- 帖子: 62
- 注册时间: 2005-05-31 9:20
-
- 帖子: 3025
- 注册时间: 2005-05-07 23:57
- 联系:
-
- 帖子: 11
- 注册时间: 2009-05-18 6:47
Re: 我的控制台没有颜色呢?
#vim /etc/vim/vimrc:
" The following are commented out as they cause vim to behave a lot
" differently from regular Vi. They are highly recommended though.
"set showcmd " Show (partial) command in status line.
"set showmatch " Show matching brackets.
"set ignorecase " Do case insensitive matching
"set smartcase " Do smart case matching
"set incsearch " Incremental search
"set autowrite " Automatically save before commands like :next and :make
"set hidden " Hide buffers when they are abandoned
"set mouse=a " Enable mouse usage (all modes)
"========================================================================"
"show lines by leio 2008
set nu
"设定文件编码
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
"开启语法加亮
syntax on
"bash shell配色风格
"colorscheme desert
"colorscheme evening
"colorscheme pablo
"设定行距 GUI界面中生效
set linespace=4
"设定GUI选项
"set guioptions=gmrLtT m:菜单 T:工具栏
set guioptions=gmrLt
"设置自动缩进
set ai
"设定Tab键缩进的空格数
"set tabstop=4
"设定编辑器将多少空格视为一个缩进
"set shiftwidth=4
"将缩进转换为空格
"set expandtab
"设定折叠方式
"set foldmethod=indent
"以下字符将被视为单词的一部分 (ASCII):
"set iskeyword+=33-47,58-64,91-96,123-128
"================================================================"
" Source a global configuration file if available
if filereadable("/etc/vim/vimrc.local")
source /etc/vim/vimrc.local
endif
" The following are commented out as they cause vim to behave a lot
" differently from regular Vi. They are highly recommended though.
"set showcmd " Show (partial) command in status line.
"set showmatch " Show matching brackets.
"set ignorecase " Do case insensitive matching
"set smartcase " Do smart case matching
"set incsearch " Incremental search
"set autowrite " Automatically save before commands like :next and :make
"set hidden " Hide buffers when they are abandoned
"set mouse=a " Enable mouse usage (all modes)
"========================================================================"
"show lines by leio 2008
set nu
"设定文件编码
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
"开启语法加亮
syntax on
"bash shell配色风格
"colorscheme desert
"colorscheme evening
"colorscheme pablo
"设定行距 GUI界面中生效
set linespace=4
"设定GUI选项
"set guioptions=gmrLtT m:菜单 T:工具栏
set guioptions=gmrLt
"设置自动缩进
set ai
"设定Tab键缩进的空格数
"set tabstop=4
"设定编辑器将多少空格视为一个缩进
"set shiftwidth=4
"将缩进转换为空格
"set expandtab
"设定折叠方式
"set foldmethod=indent
"以下字符将被视为单词的一部分 (ASCII):
"set iskeyword+=33-47,58-64,91-96,123-128
"================================================================"
" Source a global configuration file if available
if filereadable("/etc/vim/vimrc.local")
source /etc/vim/vimrc.local
endif
-
- 帖子: 6548
- 注册时间: 2008-10-31 22:12
- 系统: 践兔
- 联系: