Friday, July 16, 2010

Indent with tabs, format with spaces, what's the recommended method?

Hello. First post in the list.

I was wondering what's the best method to use Tab key to indent with tabs, and format with spaces. I mean, like Smart Tabs [0] do. I was directed from #Vim to some threads ([1], [2]), where different solutions are suggested. I like this setup, because everyone looking at the source code can use their tabstop, while the comments remains aligned.

What do you recommend to accomplish that? Should I stick with the Smart Tabs plug-in?

[0] http://www.vim.org/scripts/script.php?script_id=231
[1] http://groups.google.com/group/vim_use/browse_thread/thread/eb86a0cb32690a14
[2] http://groups.google.com/group/vim_use/browse_thread/thread/67ea88f320508c01/ad74fd0c1c4b067a?show_docid=ad74fd0c1c4b067a

Regards, Rafael

--
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

No comments: