1. Kai Chen
  2. Vimrc

Commits

Kai Chen  committed ce9c736

update rc files

  • Participants
  • Parent commits d9392fc
  • Branches master

Comments (0)

Files changed (2)

File gvimrc.after

View file
 if has("gui_running")
   set iminsert=2
   set relativenumber
+  "set transparency=5
 endif
 
 set guifont=Monaco:h14

File vimrc.after

View file
 
 au FileType javascript set tabstop=2 softtabstop=2 shiftwidth=2
 
-set statusline=%{fugitive#statusline()}%<%f%h%m%r%h%w%y\ %{strftime(\"%d/%m/%Y-%H:%M\")}%=\ col:%c%V\ lin:%l\,%L\ %P
+"set statusline=%{fugitive#statusline()}%<%f%h%m%r%h%w%y\ %{strftime(\"%d/%m/%Y-%H:%M\")}%=\ col:%c%V\ lin:%l\,%L\ %P
 let g:statline_show_charcode=1
 let g:statline_fugitive=1
 let g:statline_syntastic=0
 let g:statline_filename_relative=0
 
 set wildmode=list:longest,list:full
-set wildignore+=*.o,*.obj,*.rbc,*.class,*/.git/*,*/.hg/*,*/.svn/*,*/tmp/*,*/.sass-cache
+set wildignore+=*.o,*.obj,*.rbc,*.class,*/.git/*,*/.hg/*,*/.svn/*,*/vendor/gems/*,*/tmp/*,*/.sass-cache
 
 autocmd FileType cucumber compiler cucumber | setl makeprg=cucumber\ \"%:p\"
 autocmd FileType ruby
 
 set nonumber
 
+"在session option中去掉curdir
 set sessionoptions-=curdir
+"在session option中加入sesdir
 set sessionoptions+=sesdir
 
 ab eencod encoding: utf-8