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