sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
273 stars 14 forks source link

Ability to multiselect (`"extend": true`) for `navigate_to_child`/`navigate_to_parent` commands #1810

Open themilkman opened 10 months ago

themilkman commented 10 months ago

Problem description

Something like { "keys": ["alt+ctrl+shift+down"], "command": "navigate_to_parent", "args": { "extend": true }, "context": [ { "key": "control", "operand": "commit_table" }] }, would be useful e.g. in order to multiselect & squash commits or to simply diff a bunch of commits in the commit history of the current branch only. I tried to build the command like move {"by": "lines", "extend": true, "forward": true} but that did not work.

Preferred solution

Add the extend argument to navigate_to_child/navigate_to_parent

Alternatives

Maybe it's already possible and I did not build the command correctly?