自用vim配置文件.vimrc

.vimrc

set showmatch

"general
set mouse=v
set number
set autochdir
set autoread
set laststatus=2                    " always have status-line
"set cursorline
"hi CursorLine cterm=NONE ctermbg=lightblue ctermfg=NONE guibg=NONE guifg=NONE
"set statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [ASCII=\%03.3b]\[HEX=\%02.2B]\ [POS=%04l,%04v][%p%%]\ [LEN=%L]
set statusline=%F%m%r%h%w\ [pos=%04l,%04v\ %p%%\ len=%L]
"set backspace=indent,eol,start      " allow backspacing over everything in insert mode
"set whichwrap+=b,s,<,>,[,]
set lazyredraw    

set ts=4
set expandtab
%retab!
"tab
set shiftwidth=4
set tabstop=4
set softtabstop=4
set expandtab                       " use space instead of tabs

"set list
"set listchars=tab:\|\ ,             " high light tab

"indent
set autoindent
set smartindent
"search
set ignorecase
set smartcase
set showcmd
set incsearch
set hlsearch
"set magic
set showmatch
"set wildmenu

"encoding
set encoding=utf-8
set fileencodings=utf-8,gbk,gb2312,gb18030
set termencoding=utf-8

"syntax
syntax enable
syntax on
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章