5168 shaares
38 private links
38 private links
This is an issue that came up on IRC and I wasn't sure if there was a solution or not. Basically, we needed a way to bind multiple commands to be run in a given order to a single keyboard shortcut. Ordinarily I'd say to just use macros, but as it turns out, you can't use a macro to show the find panel or anything like that, so this is the solution I came up with: a command that runs multiple commands in whichever context the command needs to be run in.