(use-package! aggressive-indent
:defer t
:init
(add-hook! 'emacs-startup-hook (global-aggressive-indent-mode +1)))
(defun emacs-undo nil nil)
(global-set-key [remap emacs-undo] #'undo)
(add-hook! 'emacs-startup-hook (global-undo-tree-mode -1))
;; (customize-set-variable 'diredp-hide-details-initially-flag nil)
;; (put 'dired-find-alternate-file 'disabled nil)
(setq ;; ls-lisp-dirs-first t
;; dired-ls-F-marks-symlinks t
;; delete-by-moving-to-trash t
;; wdired-allow-to-change-permissions t
;; “always” means no asking
;; “top” means ask once
dired-recursive-deletes 'always
;; copy other frame
;; dired-x-hands-off-my-keys t
;; dired-hide-details-hide-information-lines t
;;
xref-show-xrefs-function 'xref--show-xref-buffer
)
;; (map! :map dired-mode-map :n "y" #'hydra-dired/body)
;; (use-package dired+)