From 1dc75c0626ea74ab5878273b4fb5f358c3f33ba6 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 22 Oct 2019 19:12:04 -0400 Subject: [PATCH] config/default: bind 'SPC t r' -> read-only-mode And alphabetize SPC t prefix. --- modules/config/default/+evil-bindings.el | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/modules/config/default/+evil-bindings.el b/modules/config/default/+evil-bindings.el index 4547105e0..2fa8dc564 100644 --- a/modules/config/default/+evil-bindings.el +++ b/modules/config/default/+evil-bindings.el @@ -844,24 +844,23 @@ (:prefix-map ("t" . "toggle") :desc "Big mode" "b" #'doom-big-font-mode (:when (featurep! :tools flycheck) - :desc "Flycheck" "f" #'flycheck-mode) + :desc "Flycheck" "f" #'flycheck-mode) (:unless (featurep! :tools flycheck) - :desc "Flymake" "f" #'flymake-mode) + :desc "Flymake" "f" #'flymake-mode) :desc "Frame fullscreen" "F" #'toggle-frame-fullscreen :desc "Evil goggles" "g" #'evil-goggles-mode + (:when (featurep! :ui indent-guides) + :desc "Indent guides" "i" #'highlight-indent-guides-mode) :desc "Indent style" "I" #'doom/toggle-indent-style :desc "Line numbers" "l" #'doom/toggle-line-numbers - :desc "Word-wrap mode" "w" #'+word-wrap-mode (:when (featurep! :lang org +present) - :desc "org-tree-slide mode" "p" #'+org-present/start) - (:when (featurep! :lang org +pomodoro) - :desc "Pomodoro timer" "t" #'org-pomodoro) - (:when (featurep! :tools flycheck) - :desc "Flycheck" "f" #'flycheck-mode) + :desc "org-tree-slide mode" "p" #'+org-present/start) + :desc "Read-only mode" "r" #'read-only-mode (:when (featurep! :tools flyspell) - :desc "Flyspell" "s" #'flyspell-mode) - (:when (featurep! :ui indent-guides) - :desc "Indent guides" "i" #'highlight-indent-guides-mode))) + :desc "Flyspell" "s" #'flyspell-mode) + (:when (featurep! :lang org +pomodoro) + :desc "Pomodoro timer" "t" #'org-pomodoro) + :desc "Word-wrap mode" "w" #'+word-wrap-mode)) ;;