Re: inoremap and typing pace?

"Steven H." <[email protected]>
Newsgroups gmane.editors.vim
Message-ID <20250404112411.29084a53@localhost>
Marc,

I am trying the following:

>·······some_array=('one'⏎
>·······␣␣␣␣␣␣␣␣␣␣␣␣'two'⏎
'three'⏎
'four'⏎
'five')⏎

The cursor is on the line containing 'three', normal mode.
I press '==' to auto align and the result is:

>·······some_array=('one'⏎
>·······␣␣␣␣␣␣␣␣␣␣␣␣'two'⏎
>·······>·······␣␣␣␣'three'⏎
'four'⏎
'five')⏎

i.e. VIM aligns with as many tabs as possible and fills the rest with spaces instead of repeating the indentation and alignment of the previous line.

Is there a fix for that?

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

--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_use/20250404112411.29084a53%40localhost.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.