Bind keystroke to multiple commands?


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.


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

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


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