From ff750338164c9708810c78c029b9446744f05e42 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Thu, 17 Jan 2013 13:14:11 -0800 Subject: [PATCH] Set ruby to 2 spaces instead of tabs --- vim/ftplugin/ruby.vim | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 vim/ftplugin/ruby.vim diff --git a/vim/ftplugin/ruby.vim b/vim/ftplugin/ruby.vim new file mode 100644 index 0000000..7456ecf --- /dev/null +++ b/vim/ftplugin/ruby.vim @@ -0,0 +1,6 @@ + +set expandtab " expandtab converts tabs to spaces. For tabs, set noexpandtab +set shiftwidth=2 " unify +set softtabstop=2 " Pressing backspace works like tabs +set tabstop=2 " real tabs should be 4, but they will show with set list on +