aboutsummaryrefslogtreecommitdiff
path: root/.doom.d/config.el
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2021-10-18 11:33:50 +0200
committerMiquel Sabaté Solà <msabate@suse.com>2021-10-18 11:33:50 +0200
commitb0fca886fdbac98b0f87a668bcfeb0f1dd0bc867 (patch)
tree34ce6bdb8d4985b059ce21e94295086f035d1969 /.doom.d/config.el
parenteb2fae6a3f25dcddbfa4ba1116c860471177a5f8 (diff)
downloaddotfiles-b0fca886fdbac98b0f87a668bcfeb0f1dd0bc867.tar.gz
dotfiles-b0fca886fdbac98b0f87a668bcfeb0f1dd0bc867.zip
emacs: added the crux package back
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to '.doom.d/config.el')
-rw-r--r--.doom.d/config.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/.doom.d/config.el b/.doom.d/config.el
index a91f1e6..372ba2f 100644
--- a/.doom.d/config.el
+++ b/.doom.d/config.el
@@ -15,6 +15,12 @@
(map! "C-x v" #'split-window-right)
(map! "C-x V" (lambda () (interactive) (split-window-right) (other-window 1)))
+;; The crux package offers quite a few goodies, and I'm particularly interested
+;; on the `crux-delete-file-and-buffer', which will delete the file related to
+;; the current buffer as well as the buffer itself.
+(use-package! crux
+ :bind (("C-c D" . crux-delete-file-and-buffer)))
+
;;; UI
;; Some time ago I created this title format, and now I prefer it over other