Skip to content

Instantly share code, notes, and snippets.

@boykov
Created April 26, 2015 03:34
Show Gist options
  • Save boykov/634623dca09652843217 to your computer and use it in GitHub Desktop.
Save boykov/634623dca09652843217 to your computer and use it in GitHub Desktop.
diff --git a/content/modules/shell.js b/content/modules/shell.js
index 0cc7320..a8af7f2 100644
--- a/content/modules/shell.js
+++ b/content/modules/shell.js
@@ -354,6 +354,9 @@ const shell =
add : add,
init : function () {
+ if (!localCommands)
+ localCommands = getLocalCommands();
+
if (!KeySnail.isMainWindow || !util.getBoolPref("extensions.keysnail.vimp.enabled", true))
return;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment