From b70d137f1a224cdbac3994d249fb5e8c7fcc203a Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 6 May 2025 01:26:02 -0400 Subject: [PATCH] tweak(default): font-size adjustment keybinds on macos On MacOS, the convention for font size adjustments are s-- and s-+. This conforms Doom to that convention (only on MacOS), and moves the reset-font-size command to C-s-= (because s-= is too easy to fat-finger while adjusting font-size incrementally). Fix: #8379 --- modules/config/default/config.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/config/default/config.el b/modules/config/default/config.el index 6a6d6389e..c60154702 100644 --- a/modules/config/default/config.el +++ b/modules/config/default/config.el @@ -346,9 +346,9 @@ Continues comments if executed from a commented line." "s-x" #'execute-extended-command :v "s-x" #'kill-region ;; Buffer-local font scaling - "s-+" #'doom/reset-font-size - "s-=" #'doom/increase-font-size - "s--" #'doom/decrease-font-size + "C-s-=" #'doom/reset-font-size + "s-+" #'doom/increase-font-size + "s--" #'doom/decrease-font-size ;; Conventional text-editing keys & motions "s-a" #'mark-whole-buffer "s-/" (cmd! (save-excursion (comment-line 1)))