all repos — nixfiles @ 308aeafae2ee7348a79e6320c9ef4fb4ef669260

System and user configuration, managed by nix and home-manager

emacs: make <leader> fd delete the current file
Alan Pearce alan@alanpearce.eu
Mon, 29 Apr 2024 08:08:26 +0200
commit

308aeafae2ee7348a79e6320c9ef4fb4ef669260

parent

4d56526b0a391443b471fa5db6b154fcecbb15ff

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -1124,7 +1124,7 @@ "e" '(:keymap envrc-command-map :package envrc)   "fs" #'save-buffer
   "ff" #'find-file
   "fw" #'write-file
-  "fd" #'delete-file
+  "fd" #'crux-delete-file-and-buffer
   "fr" #'crux-rename-file-and-buffer
   "gs" #'magit-status
   "gm" #'vc-msg-show