From 6ab9736f883eec28dcf4db26826ffbdaaee66315 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Fri, 29 Jan 2021 08:50:12 -0500 Subject: Bind C-c s to bibtex-sort-buffer --- .emacs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.emacs') diff --git a/.emacs b/.emacs index fa46f60..0523a45 100644 --- a/.emacs +++ b/.emacs @@ -107,7 +107,9 @@ (bibtex-autokey-titlewords 3) ;; Make all title words lowercase (bibtex-autokey-preserve-case 1) - :bind (:map bibtex-mode-map ("C-c C-c" . org-ref-clean-bibtex-entry)) + :bind (:map bibtex-mode-map + ("C-c C-c" . org-ref-clean-bibtex-entry) + ("C-c s" . bibtex-sort-buffer)) :config ;; stolen from bibtex.el and modified to handle "Mac Lane" (defun bibtex-autokey-demangle-name (fullname) -- cgit v1.2.3