 		     (setq c (1+ c)))))
 	       )))
 
-(when (on-macos)
-  (set-face-attribute
-   'default nil
-   :font "JetBrains Mono"
-   :height 160
-   :weight 'extra-light
-   :width 'normal))
-
 (desktop-save-mode 1)

;; Reset file-name-handler-alist after initialization.
(add-hook 'emacs-startup-hook
	  (lambda ()
	    (hrs/reset-font-size)
	    (message "Happiness delivered in %s with %d garbage collections."
		     (format "%.2f seconds"
			     (float-time
			      (time-subtract after-init-time before-init-time)))
		     gcs-done)
	    (setq gc-cons-threshold 100000000 ;100MB
		  gc-cons-percentage 0.1
		  file-name-handler-alist default-file-name-handler-alist)))

	  ("C-x C-g" . goto-line)
	  ("<f11>" . aim/fullscreen)))

(when (on-macos)
  (global-set-key "\M-`" 'other-frame))

(use-package vterm)

(when (on-macos)
     (defun copy-from-osx ()
       (shell-command-to-string "pbpaste"))
     (defun paste-to-osx (text &optional push)
