現在位置: Top / vimrc

vimrc

$ vi ~/.vimrc

set showmatch
set ignorecase
set ruler
set showmode
set laststatus=2
set incsearch
set showcmd
set statusline=%<%f\ %m%r%h%w%{'['.(&fenc!=''?&fenc:&enc).']['.&ff.']'}%=%l,%c%V%8P
set title

if &t_Co > 2 || has("gui_running")
syntax on
set hlsearch
endif

set backupdir=$HOME/.vimbackup
set clipboard=unnamed
set nocompatible
set directory=$HOME/.vimbackup
set hidden