Permalink
Browse files

Updated vimrc to work better across platforms

  • Loading branch information...
1 parent 5cd4166 commit 3fff7c9dfd1a5de7dcbba2164e7d38af5c6b0672 @kayleg committed Apr 3, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 vimrc
View
10 vimrc
@@ -165,18 +165,18 @@ imap <Tab> <C-N>
imap <C-L> <Space>=><Space>
+" Local config
+if filereadable(expand("~/.vimrc.local"))
+ source ~/.vimrc.local
+endif
+
" Display extra whitespace
set list listchars=tab:»·,trail:·
" Edit routes
command! Rroutes :e config/routes.rb
command! Rschema :e db/schema.rb
-" Local config
-if filereadable(".vimrc.local")
- source .vimrc.local
-endif
-
" Use Ack instead of Grep when available
if executable("ack")
set grepprg=ack\ -H\ --nogroup\ --nocolor\ --ignore-dir=tmp\ --ignore-dir=coverage

0 comments on commit 3fff7c9

Please sign in to comment.