mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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)))
|
||||
|
Reference in New Issue
Block a user