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
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{"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"}}
|
||||
Reference in New Issue
Block a user