From 9b4df0bd2c5e748f3984e4d67d6de426250b0466 Mon Sep 17 00:00:00 2001 From: Xavier Snelgrove Date: Mon, 10 Jun 2019 16:54:58 -0400 Subject: [PATCH] Make the keymaps more specific. Shift-enter conflicts with Hydrogen, a very popular Atom package. By making most of the keymaps specific to when Hydra is enabled, they play nicely together. --- keymaps/atom-hydra.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/keymaps/atom-hydra.json b/keymaps/atom-hydra.json index 4f4dc37..642bf0e 100644 --- a/keymaps/atom-hydra.json +++ b/keymaps/atom-hydra.json @@ -1,6 +1,8 @@ { "atom-workspace atom-text-editor[data-grammar~='js']": { - "ctrl-alt-o": "atom-hydra:toggle", + "ctrl-alt-o": "atom-hydra:toggle" + }, + ".hydra-enabled atom-workspace atom-text-editor[data-grammar~='js']": { "shift-enter": "atom-hydra:evalLine", "ctrl-enter": "atom-hydra:evalBlock", "ctrl-alt-enter": "atom-hydra:evalBlock"