Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add filetype indent and Rails routes commadns

  • Loading branch information...
commit b67038b7d46297f6e37b2b33c812a8aa0b1382eb 1 parent 6e9f0c7
Samuel Mullen authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 .vimrc
8 .vimrc
View
@@ -14,7 +14,7 @@ set t_Co=256
"------------------------------------------------------------------------------"
set history=500
-filetype plugin on
+filetype plugin indent on
set autoread " automatically read files when they are changed outside of VIM.
@@ -77,6 +77,7 @@ autocmd VimEnter *.tt,*.tt2 set filetype=html
autocmd VimEnter *pm,*.pxl,*plx set filetype=perl
autocmd VimEnter *.css set filetype=css
autocmd VimEnter *.thor set filetype=ruby
+autocmd VimEnter *.m set filetype=objc
autocmd Bufread,BufNewFile *.feature set filetype=gherkin
autocmd! Syntax gherkin source ~/.vim/syntax/cucumber.vim
@@ -88,8 +89,11 @@ map \| .j
map + <C-w>+
map - <C-w>-
+command! Rroutes :e config/routes.rb
+command! RTroutes :tabe config/routes.rb
+
"----- CommandT Specifc settings -----"
-let g:CommandTCancelMap='<Esc>'
+" let g:CommandTCancelMap='<Esc>'
"###############################################################################
" Functions
Please sign in to comment.
Something went wrong with that request. Please try again.