diff --git a/core/core-editor.el b/core/core-editor.el index d1827db88..a101d000d 100644 --- a/core/core-editor.el +++ b/core/core-editor.el @@ -268,10 +268,12 @@ savehist file." (advice-add #'undo-tree-save-history :around #'doom*compress-undo-tree-history)) -;; `command-log-mode' -(setq command-log-mode-auto-show t - command-log-mode-open-log-turns-on-mode t - command-log-mode-is-global t) +(def-package! command-log-mode + :commands global-command-log-mode + :config + (setq command-log-mode-auto-show t + command-log-mode-open-log-turns-on-mode nil + command-log-mode-is-global t)) (def-package! expand-region diff --git a/modules/config/default/+bindings.el b/modules/config/default/+bindings.el index 831d96608..5c1ee1f85 100644 --- a/modules/config/default/+bindings.el +++ b/modules/config/default/+bindings.el @@ -660,7 +660,7 @@ :desc "Describe key" :n "k" #'describe-key :desc "Find documentation" :n "K" #'+lookup/documentation :desc "Find library" :n "l" #'find-library - :desc "Command log" :n "L" #'clm/toggle-command-log-buffer + :desc "Command log" :n "L" #'global-command-log-mode :desc "View *Messages*" :n "m" #'view-echo-area-messages :desc "Describe mode" :n "M" #'describe-mode :desc "Toggle profiler" :n "p" #'doom/toggle-profiler