On 06.06.14 15:44, Philip Rhoades wrote: > and yes, now when I edit a test Ruby file, it does indeed do the automatic > indenting but the automatic indent is a tab space - I thought the convention > with Vim 7.3+ was two spaces?
Why worry about defaults, especially if they don't suit? For a couple of decades I've been happy with: tabstop=3 shiftwidth=3 To avoid any text movement if tabstop were changed, e.g. if the files were shared with another user, I also set: expandtab except in makefiles, naturally. (With modelines, rather than filetype.) Incidentally, +1 for autoindent - it works well enough that I've never tried smartindent or cindent. Erik -- Sack the teachers, send in the missionaries. Pie in the sky when you die. Captain Catholic rules, OK? - Mungo MacCallum, when Australia's new right-wing government viciously cut $30,000,000,000 from school funding, but sneaked in $250,000,000 for _school_chaplains_! - http://www.abc.net.au/news/2014-05-19/maccallum-budget-fairness-goes-up-in-cigar-smoke/5461390 -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
