diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-bog.el | 12 | ||||
-rw-r--r-- | lisp/init-org.el | 7 |
2 files changed, 12 insertions, 7 deletions
diff --git a/lisp/init-bog.el b/lisp/init-bog.el new file mode 100644 index 0000000..4409db2 --- /dev/null +++ b/lisp/init-bog.el @@ -0,0 +1,12 @@ +(require 'bog) + +(eval-after-load 'org + '(progn + (define-prefix-command 'bog-map) + (define-key org-mode-map (kbd "C-c b") 'bog-map) + (define-key bog-map "p" 'bog-find-citekey-pdf) + (define-key bog-map "r" 'bog-rename-staged-pdf-to-citekey) + (define-key bog-map "b" 'bog-find-citekey-bib) + (define-key bog-map "w" 'bog-search-citekey-on-web))) + +(provide 'init-bog) diff --git a/lisp/init-org.el b/lisp/init-org.el index 3b16a8b..435db1a 100644 --- a/lisp/init-org.el +++ b/lisp/init-org.el @@ -80,13 +80,6 @@ ;; `backward-kill-word' binding (`org-cycle-agenda-files' is still bound ;; to C-,). (define-key org-mode-map (kbd "C-'") nil) - ;; Bog keybindings - (define-prefix-command 'bog-map) - (define-key org-mode-map (kbd "C-c b") 'bog-map) - (define-key bog-map "p" 'bog-find-citekey-pdf) - (define-key bog-map "r" 'bog-rename-staged-pdf-to-citekey) - (define-key bog-map "b" 'bog-find-citekey-bib) - (define-key bog-map "w" 'bog-search-citekey-on-web) ;; Avoid conflict when amsmath is loaded. (setcar (rassoc '("wasysym" t) org-latex-default-packages-alist) "nointegrals") |