summaryrefslogtreecommitdiff
path: root/bog-readme.org
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-02-09 22:44:23 -0500
committerKyle Meyer <kyle@kyleam.com>2014-02-09 22:44:23 -0500
commitd890d0a3e1dfbde16890c0ff113a5ee31a9389c4 (patch)
treefbd1b9fea65af2107d133c2acb9141742ce59216 /bog-readme.org
parent368f807bd1db4846011755f686f12cc702fa936c (diff)
downloadbog-d890d0a3e1dfbde16890c0ff113a5ee31a9389c4.tar.gz
DOC: Suggest keybindings
Diffstat (limited to 'bog-readme.org')
-rw-r--r--bog-readme.org21
1 files changed, 21 insertions, 0 deletions
diff --git a/bog-readme.org b/bog-readme.org
index 2a69397..277fa36 100644
--- a/bog-readme.org
+++ b/bog-readme.org
@@ -140,3 +140,24 @@ If single-entry BibTeX files are used, there should be a way to collect
the references that are needed. =bog-create-combined-bib= can be used to
create a BibTeX file that has entries for all the citekeys in the
current buffer.
+
+* Recommended keybindings
+
+Bog doesn't claim any keybindings, but using "C-c b" as a prefix while
+in Org mode is a good option.
+
+| Key | Command |
+|---------+---------------------------|
+| C-c b p | bog-find-citekey-pdf |
+| C-c b b | bog-find-citekey-bib |
+| C-c b w | bog-search-citekey-on-web |
+
+This can be achieved by placing the code below in your .emacs file.
+
+#+begin_src emacs-lisp
+ (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 "b" 'bog-find-citekey-bib)
+ (define-key bog-map "w" 'bog-search-citekey-on-web)
+#+end_src