From 947f1cdd34b3f025daa38d0e1d84cb64c7e78318 Mon Sep 17 00:00:00 2001 From: jao Date: Tue, 22 Jun 2021 00:42:07 +0100 Subject: little tweaks --- init.org | 15 +++++++++++++-- lib/themes/jao-dark-theme.el | 4 ++-- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/init.org b/init.org index 6b13ff8..097cd33 100644 --- a/init.org +++ b/init.org @@ -452,6 +452,7 @@ (display-time-mode -1) (jao-ednc-setup 95) (exwm-enable) + (jao-minibuffer-adjust-mode-line-faces) (jao-trisect t) (message "Welcome to exwm")) #+end_src @@ -836,6 +837,8 @@ (add-hook 'dired-mode-hook #'turn-on-gnus-dired-mode) (define-key dired-mode-map [(control meta ?m)] #'gnus-dired-attach) (define-key dired-mode-map (kbd "C-c C-r") #'wdired-change-to-wdired-mode) + (global-set-key (kbd "C-c D") #'find-name-dired) + #+END_SRC ***** Dired packages #+BEGIN_SRC emacs-lisp @@ -848,7 +851,7 @@ #+begin_src emacs-lisp (use-package eldoc :init (setq eldoc-mode-line-string nil - eldoc-echo-area-use-multiline-p nil) + eldoc-echo-area-use-multiline-p t) :config (global-eldoc-mode 1) :diminish ((eldoc-mode . ""))) #+end_src @@ -1553,6 +1556,15 @@ ("K" . doc-view-scroll-down-or-previous-page))) (use-package jao-doc-view + :config + (dolist (f '(image-forward-hscroll + image-backward-hscroll + image-scroll-down + image-scroll-up + image-eol + image-bol)) + (advice-add f :after #'jao--refresh)) + :bind (:map doc-view-mode-map ("b" . jao-doc-view-back) ("B" . jao-doc-view-forward) @@ -1563,7 +1575,6 @@ :disabled t :ensure t :demand t - :config (pdf-tools-install) diff --git a/lib/themes/jao-dark-theme.el b/lib/themes/jao-dark-theme.el index d914ecb..1aefc08 100644 --- a/lib/themes/jao-dark-theme.el +++ b/lib/themes/jao-dark-theme.el @@ -65,7 +65,7 @@ (type ((c constants))) (variable-name ((c nil))) (constant ((c constants))) - (string ((c strings))) + (string ((c strings) it)) (error ((c warning2))) (warning ((c warning))) (success ((c green))) @@ -78,7 +78,7 @@ (outline-4 ((c functions2) bf)) (outline-5 ((c nil))) (f00 ((c "darkslategray3"))) - (f01 ((c blueish))) + (f01 ((c "dark sea green"))) (f02 ((c "lightblue3"))) (f10 ((c "cadetblue4"))) (f11 ((c "lightskyblue2"))) -- cgit v1.2.3