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:
parent
68c15ef4ae
commit
c6766c293d
2 changed files with 5 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue