Add simple workaround to ebib kill buffer issue (#15048)

See joostkremers/ebib#213By remapping spacemacs/kill-buffer to ebib-quit ebib is generally exited 'correctly' (if users really want to kill the buffer and mess up things, they can still do that in plenty of other ways).
This commit is contained in:
Daniel Nicolai 2021-09-15 20:56:38 +02:00 committed by GitHub
parent 663cfc5ba7
commit 6a5b229256
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -131,7 +131,10 @@
"gj" 'ebib-jump-to-entry
"/" 'ebib-search
"n" 'ebib-search-next)
"n" 'ebib-search-next
;; the following binding is a simple workaround for
;; https://github.com/joostkremers/ebib/issues/213
[remap spacemacs/kill-this-buffer] 'ebib-quit)
(spacemacs/set-leader-keys-for-major-mode 'ebib-index-mode
"j" 'ebib-jump-to-entry