Verified Commit 03f067dc authored by peacerebel's avatar peacerebel
Browse files

Change font

parent f75b76be
......@@ -77,6 +77,9 @@
;; Move around open windows
(global-set-key (kbd "M-o") 'other-window)
;; Disable mouse click yank
(setq mouse-yank-at-point nil)
(use-package windmove
:config
(global-set-key (kbd "s-[") 'windmove-left) ;; Super + [ go to left window
......@@ -116,14 +119,14 @@
(use-package cyberpunk-theme)
;; Font settings
(defvar pr/default-font "DejaVu Sans Mono")
(defvar pr/default-font-size 7)
(defvar pr/default-font "Hack")
(defvar pr/default-font-size 8)
(defvar pr/current-font-size pr/default-font-size)
(defvar pr/font-change-increment 1.0)
(defun pr/font-code ()
"Return a string representing the current font (like \"Inconsolata-14\")."
(concat pr/default-font "-" (number-to-string pr/current-font-size)))
(concat pr/default-font "-" (number-to-string pr/current-font-size) ":antialias=true:hinting=false"))
(defun pr/set-font-size ()
"Set the font to `pr/default-font' at `pr/current-font-size'.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment