From 7a7c892ddeea85643b5fcda4873120bc24622625 Mon Sep 17 00:00:00 2001 From: Maximilian Wolff Date: Sat, 18 Apr 2020 00:35:28 +0200 Subject: [PATCH] [geolocation] Make layer not longer use two global bindings This layer was using two global bindings SPC a w and SPC a W. As the available keybindings in that sub-menu are dwindling I have moved the bindings to SPC a w w and SPC a w W instead. --- layers/+tools/geolocation/README.org | 8 ++++---- layers/+tools/geolocation/packages.el | 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/layers/+tools/geolocation/README.org b/layers/+tools/geolocation/README.org index 1c1cdcbf7..fd156149e 100644 --- a/layers/+tools/geolocation/README.org +++ b/layers/+tools/geolocation/README.org @@ -114,7 +114,7 @@ To display weather forecast icons by default ("pretty mode"), add * Key bindings ** Weather -| Evil | Holy | Command | -|-----------+------+-----------------------------------------------| -| ~SPC a w~ | | Display pretty weather forecast | -| ~SPC a W~ | | Display quick weather forecast in mini buffer | +| Key binding | Description | +|-------------+-----------------------------------------------| +| ~SPC a w w~ | Display pretty weather forecast | +| ~SPC a w W~ | Display quick weather forecast in mini buffer | diff --git a/layers/+tools/geolocation/packages.el b/layers/+tools/geolocation/packages.el index 4b77fa987..3167d9d5c 100644 --- a/layers/+tools/geolocation/packages.el +++ b/layers/+tools/geolocation/packages.el @@ -57,9 +57,10 @@ to not have to set these variables manually when enabling this layer." :commands (sunshine-forecast sunshine-quick-forecast) :init (progn + (spacemacs/declare-prefix "aw" "weather") (spacemacs/set-leader-keys - "aw" 'sunshine-forecast - "aW" 'sunshine-quick-forecast)) + "aww" 'sunshine-forecast + "awW" 'sunshine-quick-forecast)) :config (progn (evilified-state-evilify-map sunshine-mode-map