emacs: Add keybind for easy text scaling.
This commit is contained in:
parent
7c6454d95b
commit
93e4ccf49a
2 changed files with 14 additions and 0 deletions
|
@ -76,6 +76,13 @@ in rec {
|
||||||
(setq split-width-threshold nil)
|
(setq split-width-threshold nil)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
;; Text Scaling
|
||||||
|
(global-set-key (kbd "C-+") 'text-scale-increase)
|
||||||
|
(global-set-key (kbd "C--") 'text-scale-decrease)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;; Font Config
|
;; Font Config
|
||||||
(defun set-fonts (frame)
|
(defun set-fonts (frame)
|
||||||
(interactive)
|
(interactive)
|
||||||
|
|
|
@ -34,6 +34,13 @@ in mkIf (elem "emacs::mu4e" config.machine.pkgs) {
|
||||||
(signal 'quit nil))))''
|
(signal 'quit nil))))''
|
||||||
];
|
];
|
||||||
bind = { "\t" = "'company-complete-common"; };
|
bind = { "\t" = "'company-complete-common"; };
|
||||||
|
bindLocal = rec {
|
||||||
|
mu4e-headers-mode-map = {
|
||||||
|
"C-+" = "nil";
|
||||||
|
"C--" = "nil";
|
||||||
|
};
|
||||||
|
mu4e-view-mode-map = mu4e-headers-mode-map;
|
||||||
|
};
|
||||||
init = ''
|
init = ''
|
||||||
(add-to-list 'load-path "${defaultEncrypt}/share/emacs/site-lisp")
|
(add-to-list 'load-path "${defaultEncrypt}/share/emacs/site-lisp")
|
||||||
(require 'jl-encrypt)
|
(require 'jl-encrypt)
|
||||||
|
|
Loading…
Reference in a new issue