Re: Vim two space indentation
- From: "Gavin Sinclair" <gsinclair@xxxxxxxxx>
- Date: 5 Jan 2006 22:35:38 -0800
John Maclean wrote:
> Hi guys,
>
> This has probably been done before but I've looked through 5000+ emails and I've not seen a simple solution. I'd like to have two space indentation for *.rb files or those whose first line begins with !#/usr/bin/ruby. At the moment vim gives me eight spaces, (or is it a tab?).
> [...]
The best answer is to create a file ~/.vim/ftplugin/ruby.vim with the
following
set ts=2 sw=2 sts=2 et
Regards,
Gavin
.
- Follow-Ups:
- Re: Vim two space indentation
- From: WATANABE Hirofumi
- Re: Vim two space indentation
- References:
- Vim two space indentation
- From: John Maclean
- Vim two space indentation
- Prev by Date: Re: [ANN] Rote 0.3.2 released
- Next by Date: Oniguruma...
- Previous by thread: Re: Vim two space indentation
- Next by thread: Re: Vim two space indentation
- Index(es):
Relevant Pages
|