Consider the following pseudo-code: if file_is_code: setlocal softtabstop=4 setlocal shiftwidth=4 setlocal expandtab else: setlocal softtabstop=8 setlocal shiftwidth=8
Is there a simple way to do this? -- 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