> +1 on this, please make this new behaviour optional.  I absolutely
> _never_ _ever_ want a comment leader inserted in this situation (if a
> statement requires more than one line of comment to clarify, I'd put
> them on their own _above_ the statement), and it's messing up my
> muscle memory and making me constantly have to fix what I just typed.
> 
> When I type a line of code, with or without a small comment at end of
> line, and press enter, I continue typing code. My hands are expecting
> to be able to do that, since that's how it has worked for years and
> years. These kinds of behaviour changes to input are really
> disruptive, and moreover most of our systems are running debian stable
> and therefore will continue to have the old behaviour, so I wouldn't
> even be able to get used to the change even if I wanted to.
> 
> I don't really want to have to resort to patching vim to fix this,
> especially since I if I do that I'd probably end up never updating
> it... is there any good workaround to get the old behaviour back?

Does it work better when you remove "o" from 'formatoptions'?

        :setlocal fo-=o

-- 
>From "know your smileys":
 |-(    Contact lenses, but has lost them

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220504191727.807561C19BB%40moolenaar.net.

Raspunde prin e-mail lui