From f9637492b32706e4c348f1fdde8e4416ee114186 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 18 May 2016 10:21:35 +0200 Subject: Use ag for searching stuff in vim MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- vim/autocmd.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vim/autocmd.vim') diff --git a/vim/autocmd.vim b/vim/autocmd.vim index 055e03d..cbba932 100644 --- a/vim/autocmd.vim +++ b/vim/autocmd.vim @@ -3,11 +3,11 @@ " 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 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 shiftwidth=4 tabstop=4 +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 -- cgit v1.2.3