Permalink
Browse files

Updating my path and vimrc

  • Loading branch information...
1 parent 7b53958 commit 98ac1f383bcceea97c2fb0f5add610f90446797d @ashgti committed Aug 8, 2012
Showing with 7 additions and 3 deletions.
  1. +1 −1 _paths
  2. +6 −2 _vimrc
View
2 _paths
@@ -2,7 +2,7 @@
# Customize to your needs...
# Basic path
-export PATH="/usr/bin:/usr/local/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/texbin:/Users/john/Projects/local/bin"
+export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/texbin:/Users/john/Projects/local/bin"
if [[ -d "$HOME/perl5/perlbrew/bin" ]]; then
export PATH="/Users/john/perl5/perlbrew/bin:/Users/john/perl5/perlbrew/perls/perl-5.14.2/bin:$PATH"
View
8 _vimrc
@@ -140,8 +140,9 @@ autocmd FileType css set omnifunc=csscomplete#CompleteCSS
autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags
autocmd FileType php set omnifunc=phpcomplete#CompletePHP
autocmd FileType c set omnifunc=ccomplete#Complete
-" May require ruby compiled in
-autocmd FileType ruby,eruby set omnifunc=rubycomplete#Complete
+autocmd FileType ruby,eruby let g:rubycomplete_buffer_loading = 1
+autocmd FileType ruby,eruby let g:rubycomplete_rails = 1
+autocmd FileType ruby,eruby let g:rubycomplete_classes_in_global = 1
let g:SuperTabDefaultCompletionType = "context"
@@ -200,3 +201,6 @@ endif
" <leader>r is a shortcut for make
map <leader>r :make<CR>
+let g:easytags_cmd = '/usr/local/bin/ctags'
+let g:easytags_file = '~/.vim/tmp/tags'
+let g:easytags_updatetime_min = 300

0 comments on commit 98ac1f3

Please sign in to comment.