summaryrefslogtreecommitdiff
path: root/lisp/init-bog.el
blob: 7e7f4419b62e878c676849e6e5346127ef1d29ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(require 'bog)

(setq bog-completing-read 'ido-completing-read
      bog-read-file-name 'ido-read-file-name)

(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 "h" 'bog-goto-citekey-heading-in-buffer)
     (define-key bog-map "H" 'bog-goto-citekey-heading-in-notes)
     (define-key bog-map "w" 'bog-search-citekey-on-web)))

(provide 'init-bog)