27 lines
728 B
VimL
27 lines
728 B
VimL
" general editing options
|
|
set noswapfile
|
|
set nocompatible
|
|
set tabstop=4
|
|
set expandtab
|
|
set paste
|
|
set autoindent
|
|
set linebreak
|
|
syntax on
|
|
filetype plugin indent on
|
|
|
|
" file specific overrides
|
|
au BufNewFile,BufRead *Makefile,*.mk set noexpandtab
|
|
au BufNewFile,BufRead *.py,*.java set tabstop=2
|
|
au BufNewFile,BufRead *.app set filetype=erlang
|
|
au BufNewFile,BufRead .bash_* set filetype=sh
|
|
au BufNewFile,BufRead *.sil set filetype=tex
|
|
au BufNewFile,BufRead *.erl filetype indent off
|
|
au BufNewFile,BufRead *.hrl filetype indent off
|
|
|
|
nmap <C-t> :execute "!make && make test"<CR>
|
|
|
|
let g:BASH_AuthorName = 'Jeremy Wall'
|
|
let g:BASH_AuthorRef = 'jw'
|
|
let g:BASH_Email = 'jeremy@marzhillstudios.com'
|
|
|