From 8ed55ce9363f58cc11ccbbc147ba2115f3219cf0 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Sat, 5 Jun 2021 20:25:46 +0200 Subject: [PATCH] config/doom: configure special modes --- .config/doom/config.el | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.config/doom/config.el b/.config/doom/config.el index d321f9f..e314ed5 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -320,9 +320,22 @@ Version 2019-11-04 2021-02-16" (setq eww-search-prefix "https://safe.duckduckgo.com/html/?q=") (after! dired - (define-key dired-mode-map (kbd "") 'other-window) + (map! :map dired-mode-map + :localleader + "i" (lambda () (interactive) (image-dired buffer-file-name))) ) +(after! spell-fu + (remove-hook 'text-mode-hook #'spell-fu-mode) + ) + +(map! :map special-mode-map + "" 'other-window + :map image-mode-map + "" 'other-window + :n "+" 'image-increase-size + :n "-" 'image-decrease-size) + (use-package! tramp :defer t :config