From d41e4983ec0055831f6d48765fd790b27c7306ea Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 21 Nov 2019 14:42:37 -0500 Subject: [PATCH] Bind ' t' to load-theme And remap load-theme to counsel-load-theme. This replaces the keybind for help-with-tutorial, but `load-theme` is useful enough to warrant a keybind. `help-with-tutorial` is not. --- modules/completion/ivy/config.el | 1 + modules/config/default/config.el | 2 ++ 2 files changed, 3 insertions(+) diff --git a/modules/completion/ivy/config.el b/modules/completion/ivy/config.el index 6ea88af7b..bca1f21bb 100644 --- a/modules/completion/ivy/config.el +++ b/modules/completion/ivy/config.el @@ -197,6 +197,7 @@ evil-ex-specific constructs, so we disable it solely in evil-ex." [remap evil-ex-registers] #'counsel-evil-registers [remap evil-show-marks] #'counsel-mark-ring [remap yank-pop] #'counsel-yank-pop + [remap load-theme] #'counsel-load-theme [remap locate] #'counsel-locate [remap unicode-chars-list-chars] #'counsel-unicode-char [remap compile] #'+ivy/compile diff --git a/modules/config/default/config.el b/modules/config/default/config.el index 49f68c592..f33873310 100644 --- a/modules/config/default/config.el +++ b/modules/config/default/config.el @@ -335,6 +335,8 @@ "h" nil ;; replaces `view-emacs-news' b/c it's on C-n too "n" #'doom/help-news + ;; replaces `help-with-tutorial', b/c it's less useful than `load-theme' + "t" #'load-theme ;; replaces `finder-by-keyword' b/c not usefull "p" #'doom/help-packages ;; replaces `describe-package' b/c redundant w/ `doom/describe-package'