Fix panic in vim selection restoration (#29251)
Closes #27986 Closes #ISSUE Release Notes: - vim: Fixed a panic when using `gv` after `p` in visual line mode
This commit is contained in:
parent
4a8f114528
commit
5e31d86f1f
2 changed files with 46 additions and 4 deletions
11
crates/vim/test_data/test_p_g_v_y.json
Normal file
11
crates/vim/test_data/test_p_g_v_y.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{"Put":{"state":"The\nquicˇk\nbrown\nfox"}}
|
||||
{"Key":"y"}
|
||||
{"Key":"y"}
|
||||
{"Key":"j"}
|
||||
{"Key":"shift-v"}
|
||||
{"Key":"p"}
|
||||
{"Key":"g"}
|
||||
{"Key":"v"}
|
||||
{"Key":"y"}
|
||||
{"Get":{"state":"The\nquick\nˇquick\nfox","mode":"Normal"}}
|
||||
{"ReadRegister":{"name":"\"","value":"quick\n"}}
|
Loading…
Add table
Add a link
Reference in a new issue