vim: Implement Go To Previous Word End (#7505)

Activated by keystrokes g-e.



Release Notes:

- vim: Added `ge` and `gE` for go to Previous Word End.

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
Vishal Bhavsar 2024-02-15 18:15:31 -05:00 committed by GitHub
parent e6766e102e
commit 96dcc385dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 230 additions and 18 deletions

View file

@ -0,0 +1,29 @@
{"Put":{"state":"456 5ˇ67 678\n"}}
{"Key":"g"}
{"Key":"e"}
{"Get":{"state":"45ˇ6 567 678\n","mode":"Normal"}}
{"Put":{"state":"123 234 345\n456 5ˇ67 678\n"}}
{"Key":"4"}
{"Key":"g"}
{"Key":"e"}
{"Get":{"state":"12ˇ3 234 345\n456 567 678\n","mode":"Normal"}}
{"Put":{"state":"123 234 345\n4;5.6 5ˇ67 678\n789 890 901\n"}}
{"Key":"g"}
{"Key":"e"}
{"Get":{"state":"123 234 345\n4;5.ˇ6 567 678\n789 890 901\n","mode":"Normal"}}
{"Put":{"state":"123 234 345\n4;5.6 5ˇ67 678\n789 890 901\n"}}
{"Key":"5"}
{"Key":"g"}
{"Key":"e"}
{"Get":{"state":"123 234 345\nˇ4;5.6 567 678\n789 890 901\n","mode":"Normal"}}
{"Put":{"state":"123 234 345\n\n78ˇ9 890 901\n"}}
{"Key":"g"}
{"Key":"e"}
{"Get":{"state":"123 234 345\nˇ\n789 890 901\n","mode":"Normal"}}
{"Key":"g"}
{"Key":"e"}
{"Get":{"state":"123 234 34ˇ5\n\n789 890 901\n","mode":"Normal"}}
{"Put":{"state":"123 234 345\n4;5.ˇ6 567 678\n789 890 901\n"}}
{"Key":"g"}
{"Key":"shift-e"}
{"Get":{"state":"123 234 34ˇ5\n4;5.6 567 678\n789 890 901\n","mode":"Normal"}}