aboutsummaryrefslogtreecommitdiff
path: root/.emacs
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2021-01-29 08:50:12 -0500
committerRyan Kavanagh <rak@rak.ac>2021-01-29 08:50:12 -0500
commit6ab9736f883eec28dcf4db26826ffbdaaee66315 (patch)
treec498044ed06624cf1fb39ae8b9f5d34e1753746a /.emacs
parenttitle-case misc titles (diff)
Bind C-c s to bibtex-sort-buffer
Diffstat (limited to '.emacs')
-rw-r--r--.emacs4
1 files changed, 3 insertions, 1 deletions
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)