 (use-package major-mode-hydra
   :after hydra)
 
-(use-package vterm
-  :init
-  (setq vterm-ignore-blink-cursor t))
+(if (package-installed-p 'vterm)
+    (use-package vterm
+      :init
+      (setq vterm-ignore-blink-cursor t)))
 
 ;; from https://github.com/thatwist/.emacs.d/blob/master/init.el
 ;; (pretty-hydra-define hydra-lsp

;; -*- lexical-binding: t; -*-

(add-hook 'emacs-startup-hook
	  (lambda ()

	  ("C-x C-g" . goto-line)
	  ("C-x C-r" . recentf-open-files)
	  ("M-/" . hippie-expand)
	  ("<f5>" . modus-themes-toggle)
	  ("<f11>" . aim/fullscreen)))

(add-hook 'before-save-hook 'whitespace-cleanup)
;;(setq notmuch-command "remote-notmuch.sh")
