Chickenfoot shortcut script
Add this to run as a trigger on window open and you'll be able to acquire focus on the current chickenfoot editor window by pressing 'alt-C' and to regain focus on the main tab (which is something I've often wanted to be able to do) with 'alt-D'
// attach keyboard shortcut (Alt-C) chromeWindow.addEventListener("keypress", function(event) { if (event.altKey && event.charCode == 'c'.charCodeAt(0)) { event.preventDefault(); var sidebar = Chickenfoot.getSidebarWindow(chromeWindow); if (sidebar) { sidebar.getSelectedBuffer().focus(); } } }, true); // attach keyboard shortcut (Alt-D) chromeWindow.addEventListener("keypress", function(event) { if (event.altKey && event.charCode == 'd'.charCodeAt(0)) { event.preventDefault(); tab.focus(); } }, false);