ZIm/crates/vim/test_data/test_increment_visual_partial_number.json
Kaem f5fd4ac670
vim: Implement partial increment/decrement for visual selection (#36553)
This change adds the ability to increment / decrement numbers that are
part of a visual selection. Previously Zed would resolve to the entire
number under visual selection for increment as oppposed to only
incrementing the part of the number that is selected

Release Notes: 

- vim: Fixed increment/decrement in visual mode
2025-08-22 03:02:47 +00:00

20 lines
380 B
JSON

{"Put":{"state":"ˇ123"}}
{"Key":"v"}
{"Key":"l"}
{"Key":"ctrl-a"}
{"Get":{"state":"ˇ133","mode":"Normal"}}
{"Key":"l"}
{"Key":"v"}
{"Key":"l"}
{"Key":"ctrl-a"}
{"Get":{"state":"1ˇ34","mode":"Normal"}}
{"Key":"shift-v"}
{"Key":"y"}
{"Key":"p"}
{"Key":"p"}
{"Key":"ctrl-v"}
{"Key":"k"}
{"Key":"k"}
{"Key":"l"}
{"Key":"ctrl-a"}
{"Get":{"state":"ˇ144\n144\n144","mode":"Normal"}}