From 289b1399a8791eed9dd58b5364a958db1ee2054e Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 15 Feb 2014 15:57:05 -0500 Subject: DOC: Add PDF rename to suggested keybindings --- README | 12 +++++++----- bog-readme.org | 12 +++++++----- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/README b/README index a7c67bf..8a4d704 100644 --- a/README +++ b/README @@ -191,11 +191,12 @@ and taking notes with Org, not on writing research articles with Org. 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 + Key Command + ------------------------------------------- + C-c b p bog-find-citekey-pdf + C-c b r bog-rename-staged-pdf-to-citekey + 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. @@ -203,6 +204,7 @@ and taking notes with Org, not on writing research articles with Org. | (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) `---- diff --git a/bog-readme.org b/bog-readme.org index abee240..2a78e31 100644 --- a/bog-readme.org +++ b/bog-readme.org @@ -141,11 +141,12 @@ current buffer. 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 | +| Key | Command | +|---------+----------------------------------| +| C-c b p | bog-find-citekey-pdf | +| C-c b r | bog-rename-staged-pdf-to-citekey | +| 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. @@ -153,6 +154,7 @@ This can be achieved by placing the code below in your .emacs file. (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) #+end_src -- cgit v1.2.3