Hi, On Thu, Mar 24, 2022 at 5:59 AM Jonathan Wakely <[email protected]> wrote:
> I realise that I can just type CTRL-U to remove the comment leader that > gets added, but that erases all the way to column 0. If I have indented > code: > > foo; // bar > > then I want the cursor to be aligned with foo after hitting Enter. If I > use CTRL-U or CTRL-W to erase the comment leader then I need to > reposition the cursor at the right column manually. > > > If 'cinkeys' contains the "!" flag, then you can press the key specified for that flag (default is CTRL-F) in insert mode to reindent the line again. ( https://vimhelp.org/indent.txt.html#i_CTRL-F) - Yegappan -- -- 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/CAAW7x7kjP_qWS2rjoo%2BDdKW%2BB585BQ-%3Ds84tDk2BhsH%3DEsjv6A%40mail.gmail.com.
