VIM Configuration

上一篇 / 下一篇  2008-05-20 01:23:40 / 个人分类:应用

"Sets how many lines of history VIM har to remember
set history=400

filetype indent on

"Enable syntax hl
syntax enable
syntax on

"Set 7 lines to the curors - when moving vertical..
set so=10

"Always show current position
set ruler

"Show line number
set nu

"Ignore case when searching
"set ignorecase
set incsearch

"show matching bracets
set showmatch

"Highlight search things
set hlsearch

"Restore cursor to file position in previous editing session
set viminfo='10,\"100,:20,%,n~/.viminfo
au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif

"Turn backup off
set nobackup
set nowb
set noswapfile

"set expandtab
set shiftwidth=8

"Auto indent
   set ai
"Smart indent
   set si
"C-style indeting
   set cindent
"Wrap lines
   set wrap



TAG:

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

我的栏目

日历

« 2008-09-05  
 123456
78910111213
14151617181920
21222324252627
282930    

我的存档

数据统计

  • 访问量: 68
  • 日志数: 4
  • 建立时间: 2008-05-05
  • 更新时间: 2008-05-27

RSS订阅

Open Toolbar