Tuesday, June 12, 2007

vim bash 下變數產生顏色


vi /etc/vim/vimrc



set cindent

set smartindent

set hls

set nocompatible

set sw=3

set showmatch

set background=light

colorscheme desert

syntax on

set hlsearch

highlight Search term=reverse ctermbg=4 ctermfg=7

"highlight Normal ctermbg=black ctermfg=white



""""""set color 1""""""

hi Comment ctermfg=cyan

hi PreProc ctermfg=yellow



set expandtab

set shiftwidth=3

set tabstop=3

No comments:

Post a Comment