 
 ;; Dtrt-indent
 (after! dtrt-indent
-  (add-hook! (prog-mode text-mode) #'dtrt-indent-adapt))
+  (add-hook! prog-mode #'dtrt-indent-adapt))
 
 ;; Ivy
 (after! ivy


;; Which-key
(setq which-key-idle-delay 0.1)

;; Undo-tree
(setq undo-tree-auto-save-history t
      undo-tree-history-directory-alist '(("." . "~/.emacs.d/undo")))

;; Make ESC to work as expected in minibuffers
(map!

  "C-k" #'previous-line
  "C-l" #'forward-char))

;; Dired
(map! (:n "-" #'dired-jump))

