On 2011-06-09, luc.d wrote:
> I'm using hardtabs since i use vi and before yet,
> but sometimes in vim spaces are used for indentation anyway,
> and I hate having to type backspace to replace them :-/
> 
> There should be a "purehardtabs" option disabling those indent rules
> based on string length.

You've discovered a filetype plugin that sets 'expandtab'?  If
that's the case, then as long as that plugin does not rely on
indentation being done with spaces, you should be able to reset
'noexpandtab' by putting

    set noexpandtab

in a file named ~/.vim/after/ftplugin/<filetype>.vim.
Alternatively, you could put this in your ~/.vimrc:

    au FileType * set noexpandtab

which would work for all file types.

Regards,
Gary

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui