[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-capture-templates with multi charachter keys
From: |
Kyle Meyer |
Subject: |
Re: [O] org-capture-templates with multi charachter keys |
Date: |
Fri, 02 Oct 2015 16:30:17 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Hello,
"tenspd137 ." <address@hidden> writes:
> (setq org-capture-templates
> '(("t" "Todo" entry (file+headline (concat org-directory
> "/default.org") "Tasks")
> "* TODO %?\n %i\n %a")
> ("j" "Journal" entry (file+datetree (concat org-directory
> "/journal.org"))
> "* %?\nEntered on %U\n %i\n %a")
> ;;product stuff - I would like to move these to files and have
> ;;them loaded - maybe in the future
> ("bf" "Bluefin Todo" entry (file+headline (concat
> org-directory "/bluefin.org") "Tasks")
> "* TODO %?\n %i\n %a")))
>
> the last one I am using "bf" as a key. When I go to use org capture,
> the following is shown in the menu
>
> Select a capture template
> ===================
>
> [t] Todo
> [j] Journal
> [bf] Bluefin Todo
> ----------------------------------------
> [C] Customize org-capture-templates
> [q] Abort
>
> but when I hit b (as in bf), the mini-buffer just says invalid key `b'
>
> How do I use multiple keys?
I think you're missing this bit from org-capture-templates's docstring:
When using several keys, keys using the same prefix key must be
together in the list and preceded by a 2-element entry explaining
the prefix key, for example
("b" "Templates for marking stuff to buy")
--
Kyle