vim: Make cc and S auto-indent (#9731)

Fix #9612 

Release notes:

* Changed `cc` and `S` in Vim mode to only change the current line after
its indentation. #9612
This commit is contained in:
Hans
2024-03-28 07:01:00 +01:00
committed by GitHub
parent ff685b299d
commit 2f2f236afe
2 changed files with 65 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
{"Put":{"state":"The quick\n brownˇ fox\njumps over\nthe lazy"}}
{"Key":"c"}
{"Key":"c"}
{"Get":{"state":"The quick\n ˇ\njumps over\nthe lazy","mode":"Insert"}}
{"Put":{"state":"ˇThe quick\nbrown fox\njumps over\nthe lazy"}}
{"Key":"c"}
{"Key":"c"}
{"Get":{"state":"ˇ\nbrown fox\njumps over\nthe lazy","mode":"Insert"}}
{"Put":{"state":"The quick\n broˇwn fox\njumˇps over\nthe lazy"}}
{"Key":"c"}
{"Key":"c"}
{"Get":{"state":"The quick\n ˇ\nˇ\nthe lazy","mode":"Insert"}}