Le samedi 28 juin 2014 à 11:33, Bruno Sutic a écrit:
Hi,
I would like to use tabs for indentation and spaces for alignment.
This idea is also described here:
http://vim.wikia.com/wiki/Indent_with_tabs%2C_align_with_spaces#Smart_tabs
To put it simple:
- tabs should be used at the beginning
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
To not break plugin that uses Tab you either need to avoid mapping Tab or
somehow run Tab manually in new mapping. I know how to chain mappings (run
one mapping from the other), but it is rather complicated code that does not
handle at least one
Hi @Paul,
thanks for the response and the function. I think 'smart tab' plugin achieves
the same goal.
I was more thinking: is there a built-in vim-option for this.
But, it seems there isn't.
@ZyX, thanks for the clarification. I though this is relatively trivial
problem, but now I get where
Hi,
I would like to use tabs for indentation and spaces for alignment.
This idea is also described here:
http://vim.wikia.com/wiki/Indent_with_tabs%2C_align_with_spaces#Smart_tabs
To put it simple:
- tabs should be used at the beginning of the line
- spaces should be inserted when after any