Bind '<help> 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.
This commit is contained in:
Henrik Lissner 2019-11-21 14:42:37 -05:00
parent 6f63a28c8f
commit d41e4983ec
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 3 additions and 0 deletions

View file

@ -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-ex-registers] #'counsel-evil-registers
[remap evil-show-marks] #'counsel-mark-ring [remap evil-show-marks] #'counsel-mark-ring
[remap yank-pop] #'counsel-yank-pop [remap yank-pop] #'counsel-yank-pop
[remap load-theme] #'counsel-load-theme
[remap locate] #'counsel-locate [remap locate] #'counsel-locate
[remap unicode-chars-list-chars] #'counsel-unicode-char [remap unicode-chars-list-chars] #'counsel-unicode-char
[remap compile] #'+ivy/compile [remap compile] #'+ivy/compile

View file

@ -335,6 +335,8 @@
"h" nil "h" nil
;; replaces `view-emacs-news' b/c it's on C-n too ;; replaces `view-emacs-news' b/c it's on C-n too
"n" #'doom/help-news "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 ;; replaces `finder-by-keyword' b/c not usefull
"p" #'doom/help-packages "p" #'doom/help-packages
;; replaces `describe-package' b/c redundant w/ `doom/describe-package' ;; replaces `describe-package' b/c redundant w/ `doom/describe-package'