some erlang specific changes

This commit is contained in:
hukl 2012-05-14 20:56:40 +02:00
parent 8220911da4
commit a58a847eb0

8
.vimrc
View file

@ -64,7 +64,7 @@ map <Leader>n :NERDTreeToggle<CR>
au FileType make set noexpandtab
" Erlang uses 4 spaces
au FileType erlang set softtabstop=4
au FileType erlang set softtabstop=4 tabstop=4 shiftwidth=4
" Thorfile, Rakefile, Vagrantfile and Gemfile are Ruby
au BufRead,BufNewFile {Gemfile,Rakefile,Vagrantfile,Thorfile,config.ru} set ft=ruby
@ -83,5 +83,9 @@ au FileType python set softtabstop=4 tabstop=4 shiftwidth=4 textwidth=79
" allow backspacing over everything in insert mode
set backspace=indent,eol,start
" ctrp custom ignores
let g:ctrlp_custom_ignore = {
\ 'dir': '\.git$\|\.hg$\|\.svn$\|\.eunit$',
\ 'file': '\.exe$\|\.so$\|\.dll\|\.beam$\|\.DS_Store$'
\ }