Adding sbt file syntax highlighting + some rearrangement
This commit is contained in:
parent
606b795869
commit
ac8acd9b56
23
vimrc.after
23
vimrc.after
@ -4,21 +4,24 @@ set tabstop=4
|
||||
set shiftwidth=4
|
||||
set softtabstop=4
|
||||
|
||||
" Set the indent to 2 when working with ruby and markup stuff
|
||||
autocmd BufNewFile,BufRead *.feature,*.rb,*.ru,*.xml,*.html,*.htm,Gemfile,Rakefile,Procfile set shiftwidth=2
|
||||
\| set tabstop=2
|
||||
\| set softtabstop=2
|
||||
|
||||
" Set up some sane java compilation bits
|
||||
autocmd BufNewFile,BufRead *.java set efm=%A\ %#[javac]\ %f:%l:\ %m,%-Z\ %#[javac]\ %p^,%-C%.%#
|
||||
\| set makeprg=ant\ -find\ build.xml
|
||||
|
||||
map ,t :w<CR>
|
||||
map ,m :w\|:make<CR><CR>
|
||||
map ,- :nohl<CR>
|
||||
|
||||
" Set the indent to 2 when working with ruby and markup stuff
|
||||
autocmd BufNew,BufRead *.feature,*.rb,*.ru,*.xml,*.html,*.htm,Gemfile,Rakefile,Procfile set shiftwidth=2
|
||||
\| set tabstop=2
|
||||
\| set softtabstop=2
|
||||
|
||||
" Set up some sane java compilation bits
|
||||
autocmd BufNew,BufRead *.java set efm=%A\ %#[javac]\ %f:%l:\ %m,%-Z\ %#[javac]\ %p^,%-C%.%#
|
||||
\| set makeprg=ant\ -find\ build.xml
|
||||
|
||||
" remap ',t' in Go buffers to do :Fmt first
|
||||
autocmd BufNewFile,BufRead *.go map ,t :Fmt<CR>:w<CR>
|
||||
autocmd BufNew,BufRead *.go map ,t :Fmt<CR>:w<CR>
|
||||
|
||||
" highlighting sbt as scala, too
|
||||
autocmd BufNew,BufRead *.sbt setf scala
|
||||
|
||||
" (en|dis)able crosshairs!
|
||||
function! EnableCrosshairs()
|
||||
|
Loading…
Reference in New Issue
Block a user