Solaris10安装vim

相依赖的包:

乌审网站建设公司创新互联建站,乌审网站设计制作,有大型网站制作公司丰富经验。已为乌审上千家提供企业网站建设服务。企业网站搭建\外贸营销网站建设要多少钱,请找那个售后服务好的乌审做网站的公司定做!

ncurses-5.6-sol10-x86-local.gz

gtk+-1.2.10-sol10-intel-local.gz

glib-1.2.10-sol10-x86-local.gz

下载地址 http://down.51cto.com/data/2452965

 

安装依赖包

#gzip -d ncurses-5.6-sol10-x86-local.gz

#pkgadd -d ncurses-5.6-sol10-x86-local

 

#gzip -d glib-1.2.10-sol10-x86-local.gz

#pkgadd -d glib-1.2.10-sol10-x86-local

 

#gzip -d gtk+-1.2.10-sol10-intel-local.gz

#pkgadd -d gtk+-1.2.10-sol10-intel-local

 

 

安装vim:

#gzip -d vim-7.2-sol10-x86-local.gz

#pkgadd -d vim-7.2-sol10-x86-local

 

 

添加环境变量:

vi /etc/profile找到export PATH前面添加:

 

PATH=$PATH:/usr/local/bin

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/loca/lib

export PATH LD_LIBRARY_PATH

 

 

#source /etc/profile

 

编写.vimrc

 

set nocompatible

set history=50

set undolevels=100

set viminfo='20,\"50

set showmode

syntax on

set ignorecase

set tabstop=4

set shiftwidth=4

set background=light

highlight Normal guibg=White guifg=Black

set backspace=2

set noerrorbells

set laststatus=2

set cmdheight=1

set statusline=%<%F%h%m%r%h%w%y\ %{&ff}\ line:%l\ col:%c%V

set foldenable

set showmatch

set lz

nnoremap nl

inoremap nli

inoremap :%s/search/replace/gc

nnoremap gti

inoremap   gti

"set nowrap   "// do not wrap lines

"set number   "// turn on line numbers

set nobackup

 

 


新闻名称:Solaris10安装vim
URL标题:http://myzitong.com/article/ihigje.html