Problem: When yanking in visual line on the newline char, the next line gets yanked as well: https://github.com/user-attachments/assets/40f332dd-19f5-445f-a30f-39d50167c46f Changes: Similar to visual delete, exclude the newline char from the selection in line mode. Release Notes: - vim: Fixed visual line yank while on the newline character yanking following line
43 lines
1.6 KiB
JSON
43 lines
1.6 KiB
JSON
{"Put":{"state":"The quick ˇbrown"}}
|
|
{"Key":"v"}
|
|
{"Key":"w"}
|
|
{"Key":"y"}
|
|
{"Get":{"state":"The quick ˇbrown","mode":"Normal"}}
|
|
{"ReadRegister":{"name":"\"","value":"brown"}}
|
|
{"Put":{"state":"The ˇquick brown\nfox jumps over\nthe lazy dog"}}
|
|
{"Key":"v"}
|
|
{"Key":"w"}
|
|
{"Key":"j"}
|
|
{"Key":"y"}
|
|
{"Get":{"state":"The ˇquick brown\nfox jumps over\nthe lazy dog","mode":"Normal"}}
|
|
{"ReadRegister":{"name":"\"","value":"quick brown\nfox jumps o"}}
|
|
{"Put":{"state":"The quick brown\nfox jumps over\nthe ˇlazy dog"}}
|
|
{"Key":"v"}
|
|
{"Key":"w"}
|
|
{"Key":"j"}
|
|
{"Key":"y"}
|
|
{"Get":{"state":"The quick brown\nfox jumps over\nthe ˇlazy dog","mode":"Normal"}}
|
|
{"ReadRegister":{"name":"\"","value":"lazy d"}}
|
|
{"Key":"shift-v"}
|
|
{"Key":"y"}
|
|
{"Get":{"state":"The quick brown\nfox jumps over\nˇthe lazy dog","mode":"Normal"}}
|
|
{"ReadRegister":{"name":"\"","value":"the lazy dog\n"}}
|
|
{"Put":{"state":"The ˇquick brown\nfox jumps over\nthe lazy dog"}}
|
|
{"Key":"v"}
|
|
{"Key":"b"}
|
|
{"Key":"k"}
|
|
{"Key":"y"}
|
|
{"Get":{"state":"ˇThe quick brown\nfox jumps over\nthe lazy dog","mode":"Normal"}}
|
|
{"Put":{"state":"The quick brown\nfox ˇjumps over\nthe lazy dog"}}
|
|
{"Key":"shift-v"}
|
|
{"Key":"shift-g"}
|
|
{"Key":"shift-y"}
|
|
{"Get":{"state":"The quick brown\nˇfox jumps over\nthe lazy dog","mode":"Normal"}}
|
|
{"ReadRegister":{"name":"\"","value":"fox jumps over\nthe lazy dog\n"}}
|
|
{"Put":{"state":"The quick brown\nfox ˇjumps over\nthe lazy dog"}}
|
|
{"Key":"shift-v"}
|
|
{"Key":"shift-4"}
|
|
{"Key":"shift-y"}
|
|
{"Get":{"state":"The quick brown\nˇfox jumps over\nthe lazy dog","mode":"Normal"}}
|
|
{"ReadRegister":{"name":"\"","value":"fox jumps over\n"}}
|