vim: gq (#18156)
Closes #ISSUE Release Notes: - vim: Added gq/gw for rewrapping lines
This commit is contained in:
parent
7dac5594cd
commit
45388805ad
7 changed files with 177 additions and 3 deletions
12
crates/vim/test_data/test_gq.json
Normal file
12
crates/vim/test_data/test_gq.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{"SetOption":{"value":"textwidth=5"}}
|
||||
{"Put":{"state":"ˇth th th th th th\n"}}
|
||||
{"Key":"g"}
|
||||
{"Key":"q"}
|
||||
{"Key":"q"}
|
||||
{"Get":{"state":"th th\nth th\nˇth th\n","mode":"Normal"}}
|
||||
{"Put":{"state":"ˇth th th th th th\nth th th th th th\n"}}
|
||||
{"Key":"v"}
|
||||
{"Key":"j"}
|
||||
{"Key":"g"}
|
||||
{"Key":"q"}
|
||||
{"Get":{"state":"th th\nth th\nth th\nth th\nth th\nˇth th\n","mode":"Normal"}}
|
Loading…
Add table
Add a link
Reference in a new issue