add font FantasqueSansMono and bind C-c F for my font selection
This commit is contained in:
parent
50849785fb
commit
c9bbafa9de
4
init.el
4
init.el
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user