Skip to content

Commit

Permalink
refactor(emacs): shuffle code around
Browse files Browse the repository at this point in the history
  • Loading branch information
gekoke committed Dec 12, 2024
1 parent 232a2bb commit 4947607
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions modules/nixos/programs/emacs/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -596,11 +596,16 @@
(gg/local
:keymaps 'dirvish-mode-map
"d" #'dirvish-fd
"i" #'dired-gitignore-global-mode
"g" #'dirvish-emerge-mode
"f" #'dired-create-empty-file
"k" #'dired-create-directory))

(use-package dired-gitignore
:general
(gg/local
:keymaps 'dirvish-mode-map
"i" #'dired-gitignore-global-mode))

(use-package dired-x :ensure nil)

(use-package diredfl
Expand All @@ -618,8 +623,6 @@
(setq dired-omit-files (concat dired-omit-files "\\|^\\..*$"))
(setq dired-deletion-confirmer #'(lambda (_) t)))

(use-package dired-gitignore)

(use-package cape
:init
(setq-default completion-at-point-functions (list
Expand Down

0 comments on commit 4947607

Please sign in to comment.