您好,登录后才能下订单哦!
相依赖的包:
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 <F3> <Esc>nl
inoremap <F3> <Esc>nli
inoremap <C-H> <Esc>:%s/search/replace/gc
nnoremap <C-W> gti
inoremap <C-W> <Esc>gti
"set nowrap "// do not wrap lines
"set number "// turn on line numbers
set nobackup
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。