Was modifying mousemap and realized I don’t understand the difference in the last two default mouse binds: extend and extend+additive
I understand the first one’s additive role: you ctrl+click in multiple spots, you get multiple cursors
I understand the second one’s extend role: you click anywhere, it extends selection from the “lowest” cursor to the click spot
I don’t understand what additive does in additon to extend in the 3rd command and couldn’t find an interaction where they behaved differently
Do you have an example of the difference?
{"button":"button1","count":1,"modifiers":[ "ctrl"],"press_command":"drag_select","press_args":{"additive":true }},
{"button":"button1" ,"modifiers":["shift" ],"press_command":"drag_select","press_args":{ "extend":true}},
{"button":"button1" ,"modifiers":["shift","ctrl"],"press_command":"drag_select","press_args":{"additive":true,"extend":true}},
Also, another puzzle: what does the count:1 does here? The modifiers seem to behave identically, Shift also adds cursors on click even without an explicit count
{"button":"button1","count":1,"modifiers":["ctrl" ],"press_command":"drag_select","press_args":{"additive":true}},
{"button":"button1", "modifiers":["shift"],"press_command":"drag_select","press_args":{"additive":true}},