Browse Source

tags and no nocompatible and no UniGrep

raa0121 10 years ago
parent
commit
002de4aae0
1 changed files with 1 additions and 3 deletions
  1. 1 3
      .vimrc

+ 1 - 3
.vimrc

@@ -68,7 +68,6 @@ if has('+regexpengine')
   set re=0
 endif
 
-set nocompatible
 filetype off
 
 if has('vim_starting')
@@ -444,6 +443,7 @@ autocmd vimrc BufNewFile,BufRead *.{md,mdwn,mkd,mkdn,mark*} setlocal filetype=ma
 autocmd vimrc FileType haxe setl autowrite
 autocmd vimrc FileType hxml setl autowrite
 autocmd vimrc FileType nmml.xml setl autowrite
+autocmd vimrc BufNewFile,BufRead *.rb set tags+=$HOME/ctags/ruby.tags
 
 let g:vaxe_haxe_version = 3
 
@@ -651,8 +651,6 @@ augroup END
 
 command! -nargs=? ExtractMatches let s:pat = empty(<q-args>) ? @/ : <q-args> | let s:result = filter(getline(1, '$'), 'v:val =~# s:pat') | new | put =s:result
 
-command! -nargs=? UniGrep let s:pat = empty(<q-args>) ? @/ : <q-args> | execute 'Unite grep:%::' . escape(s:pat, '\')
-
 let g:github_user = 'raa0121'
 
 let g:github#user = 'raa0121'