emacs: Add keybind for easy text scaling.

This commit is contained in:
Kevin Baensch 2020-01-26 17:35:22 +01:00
parent 7c6454d95b
commit 93e4ccf49a
Signed by: derped
GPG key ID: C0F1D326C7626543
2 changed files with 14 additions and 0 deletions

View file

@ -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)

View file

@ -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)