summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-02-15 16:24:38 -0500
committerKyle Meyer <kyle@kyleam.com>2014-02-15 16:24:38 -0500
commitff0ab7cdd8a64b9a102524d1328f859f45770c36 (patch)
tree53968305d4987e261854142f70b4d0e0e8406cdd /lisp
parent24d8aa9f74042d42800ff5f61eb3455269f9d43c (diff)
downloademacs.d-ff0ab7cdd8a64b9a102524d1328f859f45770c36.tar.gz
Move bog to separate init file
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-bog.el12
-rw-r--r--lisp/init-org.el7
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")