Skip to content

Commit dd13843

Browse files
committed
Add keybinding for citar-insert-citation to citar-citation-map
1 parent 5f2cf9b commit dd13843

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

citar.el

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,10 +258,10 @@ start and end of the citation."
258258

259259
(defvar citar-map
260260
(let ((map (make-sparse-keymap)))
261-
(define-key map (kbd "b") (cons "insert bibtex" #'citar-insert-bibtex))
262261
(define-key map (kbd "c") (cons "insert citation" #'citar-insert-citation))
263-
(define-key map (kbd "k") (cons "insert key" #'citar-insert-keys))
262+
(define-key map (kbd "k") (cons "insert keys" #'citar-insert-keys))
264263
(define-key map (kbd "fr") (cons "insert formatted reference" #'citar-insert-reference))
264+
(define-key map (kbd "b") (cons "insert bibtex" #'citar-insert-bibtex))
265265
(define-key map (kbd "o") (cons "open source document" #'citar-open))
266266
(define-key map (kbd "e") (cons "open bibtex entry" #'citar-open-entry))
267267
(define-key map (kbd "l") (cons "open source URL or DOI" #'citar-open-link))
@@ -277,6 +277,7 @@ start and end of the citation."
277277
(defvar citar-citation-map
278278
(let ((map (make-sparse-keymap)))
279279
(define-key map (kbd "i") (cons "insert or edit" #'citar-insert-edit))
280+
(define-key map (kbd "c") (cons "insert citation" #'citar-insert-citation))
280281
(define-key map (kbd "o") (cons "open source document" #'citar-open))
281282
(define-key map (kbd "e") (cons "open bibtex entry" #'citar-open-entry))
282283
(define-key map (kbd "l") (cons "open source URL or DOI" #'citar-open-link))

0 commit comments

Comments
 (0)