Sublime Forum

Bindings Context For When Focus Is On Empty Group|Cell

#1

Yeah, hard to ascertain atm.

Would be nice to just press c for clone last active file when in an empty group (after splitting say)

0 Likes

#2

I like this idea, would definitely be convenient but it’s not near the top of my list of feature requests.

0 Likes

#3

More generically, being able to make custom contexts that don’t require a View. on_query_context only works if there’s a view (input panel|tab) active.

Anyway, I can always just script a bunch of sequential bindings I guess, eg. ‘alt+shift+’, ‘c’] but you’d need to get all cartesian on its arse.

>>> import itertools; list(itertools.product('v', 'h'], 'clone', 'new'])) ('v', 'clone'), ('v', 'new'), ('h', 'clone'), ('h', 'new')]

I’m thinking of a bit more than clone and new and would like to be able to run the commands without having to be directly after a split.

Do tell :smile:

0 Likes

#4

You asked for it :smile: I Present To You: The Sublime Manifesto

0 Likes