Skip to content

Commit

Permalink
add scala plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarik committed Dec 18, 2012
1 parent 6ba8e79 commit 7b5e177
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ set macmeta

" Copy whole line
nnoremap <silent> <D-c> yy
" close/delete buffer when closing window
map <silent> <D-w> :bdelete<CR>
endif

" Control+S and Control+Q are flow-control characters: disable them in your terminal settings.
Expand All @@ -202,7 +205,8 @@ ab #e # encoding: UTF-8

" AutoCommands " {{{
au BufRead,BufNewFile {Gemfile,Rakefile,Capfile,*.rake,config.ru} set ft=ruby tabstop=2 softtabstop=2 shiftwidth=2 expandtab smarttab
au BufRead,BufNewFile {*.md,*.mkd,*.markdown} set ft=markdown
au BufRead,BufNewFile {*.md,*.mkd,*.markdown} setf markdown
au BufRead,BufNewFile {*.scala} setf scala
au! BufReadPost {COMMIT_EDITMSG,*/COMMIT_EDITMSG} set ft=gitcommit noml list| norm 1G
au! BufWritePost *.snippet call ReloadAllSnippets()
" open help in vertical split
Expand All @@ -228,6 +232,7 @@ if has("gui_running")
endif

" Programming
Bundle 'vim-scala'
Bundle 'anzaika/go.vim'
Bundle 'jQuery'
Bundle 'tpope/vim-rails'
Expand Down

0 comments on commit 7b5e177

Please sign in to comment.