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
This commit is contained in:
Henrik Lissner
2025-05-06 01:26:02 -04:00
parent 13e92ceb3c
commit b70d137f1a

View File

@ -346,8 +346,8 @@ 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
"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