Implement buffer-kill undoing

`C-x k` now kills the current buffer without a question. `C-x M-k` undoes it.
This commit is contained in:
2016-11-21 11:40:02 +01:00
parent 0ae7c9f240
commit 11e0e9bb25
2 changed files with 22 additions and 0 deletions

View File

@@ -1026,6 +1026,8 @@
("C-d" . delete-current-buffer-file)
("~" . toggle-char-case)
("|" . toggle-window-split)
("k" . gpolonkai/kill-this-buffer)
("M-k" . gpolonkai/undo-buffer-kill)
:map isearch-mode-map
("<C-return>" . isearch-exit-other-end)
:map gpolonkai/pers-map