syntax on
set showcmd
set showmatch
set smartcase
set expandtab
set autowrite
set mouse=a
set autoindent
set smartindent
set tabstop=4
set shiftwidth=4
set vb t_vb=
set ruler
set incsearch
set nocompatible
set number
set fencs=utf-8,chinese,latin1 fenc=utf-8 enc=utf-8
set clipboard+=unnamed
autocmd! bufwritepost .vimrc source ~/.vimrc
imap iv:tlisttogglefiletype on
VI配置檔案
當我們使用vim時,你需要知道一系列的配置檔案.這些配置檔案的位置依賴於vim的安裝位置和你所使用的作業系統.通常,有三個配置檔案,你是必須知道在 能找到的.這是vim最主要的配置檔案.它有兩個版本,全域性版本 global 和使用者版本 personal 開啟vim,在普通模式下輸入下面的命令來找...
我的OpenBSD配置檔案
以kiss為原則的openbsd讓人非常喜歡,記錄一下配置檔案以備用。cat etc profile pkg path pkg path cvsroot anoncvs anoncvs3.usa.openbsd.org cvs obdoc home sw2wolf qachina db doc op...
我的VIM的配置檔案
root leo desktop cat vimrc 說明 將此檔案重新命名為.vimrc並拷貝到 下 將plugin下的檔案安裝 拷貝到 usr share vim vim71 plugin 下 set nu 設定行號 set autoindent 設定自動縮排 set cindent 設定c語言...