diff --git a/init.el b/init.el index e5962c6..3384dd3 100644 --- a/init.el +++ b/init.el @@ -87,13 +87,13 @@ eshell-mode-hook)) (add-hook mode (lambda () (display-line-numbers-mode 0)))) -(set-face-attribute 'default nil :font "Fira Code Retina" :height efs/default-font-size) +;; (set-face-attribute 'default nil :font "Fira Code Retina" :height efs/default-font-size) ;; Set the fixed pitch face -(set-face-attribute 'fixed-pitch nil :font "Fira Code Retina" :height efs/default-font-size) +;; (set-face-attribute 'fixed-pitch nil :font "Fira Code Retina" :height efs/default-font-size) ;; Set the variable pitch face -(set-face-attribute 'variable-pitch nil :font "Cantarell" :height efs/default-variable-font-size :weight 'regular) +;; (set-face-attribute 'variable-pitch nil :font "Cantarell" :height efs/default-variable-font-size :weight 'regular) ;; Make ESC quit prompts (global-set-key (kbd "") 'keyboard-escape-quit) @@ -129,14 +129,19 @@ (evil-set-initial-state 'messages-buffer-mode 'normal) (evil-set-initial-state 'dashboard-mode 'normal)) -(use-package evil-collection - :after evil - :config - (evil-collection-init)) +;; (use-package evil-collection +;; :after evil +;; :config +;; (evil-collection-init)) (use-package command-log-mode :commands command-log-mode) +(use-package lispy) ; structural lisp editing +(use-package evil-lispy) ; vi bindings for lispy + +(add-hook 'emacs-lisp-mode-hook #'evil-lispy-mode) + (use-package doom-themes :init (load-theme 'doom-palenight t)) @@ -583,10 +588,11 @@ :commands (dired dired-jump) :bind (("C-x C-j" . dired-jump)) :custom ((dired-listing-switches "-agho --group-directories-first")) - :config - (evil-collection-define-key 'normal 'dired-mode-map - "h" 'dired-single-up-directory - "l" 'dired-single-buffer)) + ;; :config + ;; (evil-collection-define-key 'normal 'dired-mode-map + ;; "h" 'dired-single-up-directory + ;; "l" 'dired-single-buffer) + ) (use-package dired-single :commands (dired dired-jump)) @@ -604,9 +610,10 @@ (use-package dired-hide-dotfiles :hook (dired-mode . dired-hide-dotfiles-mode) - :config - (evil-collection-define-key 'normal 'dired-mode-map - "H" 'dired-hide-dotfiles-mode)) + ;; :config + ;; (evil-collection-define-key 'normal 'dired-mode-map + ;; "H" 'dired-hide-dotfiles-mode) + ) ;; Make gc pauses faster by decreasing the threshold. (setq gc-cons-threshold (* 2 1000 1000))