Add doom/{increase,decrease,reset}-font commands

Borrows the idea from zoom-frm (see #1389).
This commit is contained in:
Henrik Lissner
2019-05-12 21:54:16 -04:00
parent ef4106dae8
commit 0f0fdbc00c
8 changed files with 124 additions and 51 deletions

View File

@ -22,9 +22,9 @@
"<C-mouse-4>" #'text-scale-increase
"<C-mouse-5>" #'text-scale-decrease
"<C-down-mouse-2>" (λ! (text-scale-set 0))
"M-+" (λ! (text-scale-set 0))
"M-=" #'text-scale-increase
"M--" #'text-scale-decrease
"M-+" #'doom/reset-font-size
"M-=" #'doom/increase-font-size
"M--" #'doom/decrease-font-size
;; Editor related bindings
[remap newline] #'newline-and-indent
"C-j" #'+default/newline