132015RE: Treat spaces as tabs only at the start of the line
- Jul 1, 2012Gerardo Marset wrote:
> I have sofftabstop (and shiftwidth) set to 4, and expandtabI'm not sure exactly what the issue is, but are you aware that
> enabled. Thus, when deleting groups of spaces, vim treats
> them as tabs and deletes them 4 at a time. I want vim to do
> that only if from the start of the line and up to the
> cursor's position there's only spaces and nothing else.
in insert mode you can press Ctrl-D to unindent the current line
(remove one level of shiftwidth)? Does that help?
I recently cleaned this up, although I don't think it helps
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
- << Previous post in topic Next post in topic >>