summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2024-04-29 08:08:26 +0200
committerAlan Pearce2024-04-29 08:08:26 +0200
commit308aeafae2ee7348a79e6320c9ef4fb4ef669260 (patch)
treedad243b038d164f29a9213830c0c0ed4e1e8aad4 /user
parent4d56526b0a391443b471fa5db6b154fcecbb15ff (diff)
downloadnixfiles-308aeafae2ee7348a79e6320c9ef4fb4ef669260.tar.lz
nixfiles-308aeafae2ee7348a79e6320c9ef4fb4ef669260.tar.zst
nixfiles-308aeafae2ee7348a79e6320c9ef4fb4ef669260.zip
emacs: make <leader> fd delete the current file
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 4ee43171..16bdd5fc 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -1124,7 +1124,7 @@ _C-k_: prev  _u_pper              _=_: upper/lower       _s_mart resolve
   "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