If you're just starting up with Vim, try Vimius ( https://github.com/TechnoGate/vimius)..
On Wed, Nov 9, 2011 at 17:12, Ivan S. Freitas <[email protected]>wrote: > On Tue, Nov 8, 2011 at 4:04 PM, Marcus Gartner <[email protected]> > wrote: > > I've been trying for the life of me to get ruby code to auto-indent, > > but I've had no luck. It looks like ruby auto-indenting should work > > jsut by turning on autoindent and smartindent. > > > > My .vimrc file can be seen here: https://gist.github.com/1348562 > > > > Auto-indenting seems to be working fine with other languages, such as > > javascript. Any ideas why its not working for Ruby? > > Probably you will want this: > > filetype indent plugin on > (see line 312 in https://github.com/ISF/dotfiles/blob/master/.vimrc ) > > Also, the "set autoindent" is not necessary (smartindent overwrites > it, and for ruby is a better option I think). > > -- > Ivan Sichmann Freitas > GNU/Linux user #509059 > > -- > You received this message from the "vim_use" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Waêl Nasreddine TechnoGate www.technogate.fr mobile : 06.41.68.38.35 agence : 09.70.444.236 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
