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:
parent
e6766e102e
commit
96dcc385dd
5 changed files with 230 additions and 18 deletions
29
crates/vim/test_data/test_previous_word_end.json
Normal file
29
crates/vim/test_data/test_previous_word_end.json
Normal 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"}}
|
Loading…
Add table
Add a link
Reference in a new issue