From 4ead9be4468d8d58c027bf6e6616e3b4d6e727eb Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 22 Aug 2019 18:30:24 +0200 Subject: Complete re-structuring so it's easier to install MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- vim/autocmd.vim | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 vim/autocmd.vim (limited to 'vim/autocmd.vim') diff --git a/vim/autocmd.vim b/vim/autocmd.vim deleted file mode 100644 index cbba932..0000000 --- a/vim/autocmd.vim +++ /dev/null @@ -1,22 +0,0 @@ -" Indentation rules for different languages. - -" Some rules regarding indentation on different languages. -autocmd FileType sh setlocal shiftwidth=4 tabstop=4 -autocmd FileType perl setlocal shiftwidth=4 tabstop=4 -autocmd FileType c setlocal noexpandtab shiftwidth=4 tabstop=4 -autocmd FileType yacc setlocal shiftwidth=4 tabstop=4 -autocmd FileType go setlocal noexpandtab shiftwidth=4 tabstop=4 -autocmd FileType ruby setlocal shiftwidth=2 tabstop=2 -autocmd FileType cpp setlocal noexpandtab shiftwidth=4 tabstop=4 -autocmd FileType php setlocal noexpandtab shiftwidth=4 tabstop=4 -autocmd FileType javascript setlocal shiftwidth=2 tabstop=2 - -" Clean up trailing whitespaces on save. -autocmd BufWritePre * :%s/\s\+$//e -au BufRead,BufNewFile Vagrantfile set filetype=ruby - -" If there is a .lvimrc, source it. Note that this works best by calling vim on -" the root of your project. -if filereadable(".lvimrc") - so .lvimrc -endif -- cgit v1.2.3