Bind keystroke to multiple commands?


#1

Is it possible to have a keystroke execute multiple commands? For example, suppose I want a keystroke to execute ‘find-and-replace:find-next’ twice.

If I can’t do it from the key mapping, how can I execute ‘find-and-replace:find-next’ from within a library file? I haven’t been able to figure out how to reference functions from other packages in my library files.


#2

I would be really interested in that as well. Something like that this would be nice:

'.platform-darwin':
  'ctrl-a': 'tree-view:toggle-focus; tree-view:reveal-active-file'

#3

I wrote a StackOverflow question and answer for this specific scenario here: