From 4499436c080e572c3d121f9d80e0364b9f7d9fb3 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 19 Feb 2015 23:02:28 -0500 Subject: Add bog-search-notes-for-citekey to commander --- bog.el | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bog.el') diff --git a/bog.el b/bog.el index 17f4ec1..d09a2e9 100644 --- a/bog.el +++ b/bog.el @@ -1272,6 +1272,12 @@ chosen." "Find citekey BibTeX file." (bog-find-citekey-bib t)) +(def-bog-commander-method ?c + "Search notes for citekey with `org-search-view'." + ;; Switch to temporary buffer to prevent citekey being taken from + ;; context. + (with-temp-buffer (bog-search-notes-for-citekey))) + (def-bog-commander-method ?f "Find citekey file." (bog-find-citekey-file t)) -- cgit v1.2.3