config/doom: configure special modes
This commit is contained in:
parent
b0f58c77e2
commit
8ed55ce936
|
@ -320,9 +320,22 @@ Version 2019-11-04 2021-02-16"
|
||||||
(setq eww-search-prefix "https://safe.duckduckgo.com/html/?q=")
|
(setq eww-search-prefix "https://safe.duckduckgo.com/html/?q=")
|
||||||
|
|
||||||
(after! dired
|
(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
|
(use-package! tramp
|
||||||
:defer t
|
:defer t
|
||||||
:config
|
:config
|
||||||
|
|
Loading…
Reference in New Issue