add font FantasqueSansMono and bind C-c F for my font selection

This commit is contained in:
Łukasz Pankowski 2018-09-09 11:59:57 +02:00
parent 50849785fb
commit c9bbafa9de

View File

@ -916,7 +916,7 @@ inserted between the braces between the braces."
;;; Easy switching between some fonts
(setq my-font-list '("Inconsolata" "Go mono" "mononoki"))
(setq my-font-list '("FantasqueSansMono" "Go mono" "Inconsolata" "mononoki"))
(defun my-set-frame-font (font-name size &optional frames)
"Set font to one of the fonts from `my-font-list'
@ -933,6 +933,8 @@ Argument FRAMES has the same meaning as for `set-frame-font'"
(format "%s:pixelsize=%d:antialias=true:autohint=true" font-name size)
nil frames))
(global-set-key (kbd "C-c F") #'my-set-frame-font)
;;; Fancy mode line and some themes
(use-package powerline