summaryrefslogtreecommitdiff
path: root/lisp/init-bog.el
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/init-bog.el
parent24d8aa9f74042d42800ff5f61eb3455269f9d43c (diff)
downloademacs.d-ff0ab7cdd8a64b9a102524d1328f859f45770c36.tar.gz
Move bog to separate init file
Diffstat (limited to 'lisp/init-bog.el')
-rw-r--r--lisp/init-bog.el12
1 files changed, 12 insertions, 0 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)