mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
C-down-mouse-2 -> reset text-scale
Make this universal. Also removes redundant C-mouse-{4,5} mouse bindings, they're already bound by mouse-wheel-mode.
This commit is contained in:
@ -418,9 +418,6 @@
|
|||||||
(map! "C-'" #'imenu
|
(map! "C-'" #'imenu
|
||||||
|
|
||||||
;;; Text scaling
|
;;; Text scaling
|
||||||
[C-mouse-4] #'text-scale-increase
|
|
||||||
[C-mouse-5] #'text-scale-decrease
|
|
||||||
[C-down-mouse-2] (cmd! (text-scale-set 0))
|
|
||||||
"M-+" #'doom/reset-font-size
|
"M-+" #'doom/reset-font-size
|
||||||
"M-=" #'doom/increase-font-size
|
"M-=" #'doom/increase-font-size
|
||||||
"M--" #'doom/decrease-font-size
|
"M--" #'doom/decrease-font-size
|
||||||
|
@ -427,6 +427,11 @@ Continues comments if executed from a commented line. Consults
|
|||||||
;; which ctrl+RET will add a new "item" below the current one and
|
;; which ctrl+RET will add a new "item" below the current one and
|
||||||
;; cmd+RET (Mac) / meta+RET (elsewhere) will add a new, blank line below
|
;; cmd+RET (Mac) / meta+RET (elsewhere) will add a new, blank line below
|
||||||
;; the current one.
|
;; the current one.
|
||||||
|
|
||||||
|
;; C-<mouse-scroll-up> = text scale increase
|
||||||
|
;; C-<mouse-scroll-down> = text scale decrease
|
||||||
|
[C-down-mouse-2] (cmd! (text-scale-set 0))
|
||||||
|
|
||||||
;; auto-indent on newline by default
|
;; auto-indent on newline by default
|
||||||
:gi [remap newline] #'newline-and-indent
|
:gi [remap newline] #'newline-and-indent
|
||||||
;; insert literal newline
|
;; insert literal newline
|
||||||
|
Reference in New Issue
Block a user