diff options
author | Alan Pearce | 2020-04-04 15:37:53 +0200 |
---|---|---|
committer | Alan Pearce | 2020-04-04 15:37:53 +0200 |
commit | 578f766eb3a9876d1a7403713f37ba731ba812d4 (patch) | |
tree | 6f9f4beca24e437f4a8a823361010f53a155f897 /user | |
parent | 7d828d3249f3282202468750d56947d4ed67ff77 (diff) | |
download | nixfiles-578f766eb3a9876d1a7403713f37ba731ba812d4.tar.lz nixfiles-578f766eb3a9876d1a7403713f37ba731ba812d4.tar.zst nixfiles-578f766eb3a9876d1a7403713f37ba731ba812d4.zip |
Emacs: make deletion of modified vc-backed files easier
crux-delete-file-and-buffer uses vc-delete-file, which aborts if the file is not up to date in the VCS, which is oftun infuriating
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/init.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index f76a5017..250c1a14 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -977,7 +977,7 @@ _p_rev _u_pper _=_: upper/lower _r_esolve "fs" #'save-buffer "ff" #'find-file "fw" #'write-file - "fd" #'crux-delete-file-and-buffer + "fd" #'delete-file "fr" #'crux-rename-file-and-buffer "gs" #'magit-status "gm" #'git-messenger:popup-message |