config/doom: configure special modes

This commit is contained in:
xeruf 2021-06-05 20:25:46 +02:00
parent b0f58c77e2
commit 8ed55ce936
1 changed files with 14 additions and 1 deletions

View File

@ -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 "<tab>") '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
"<tab>" 'other-window
:map image-mode-map
"<tab>" 'other-window
:n "+" 'image-increase-size
:n "-" 'image-decrease-size)
(use-package! tramp
:defer t
:config