From 309fa84cb7439221c01f8526fcbc67b6004a95d1 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Wed, 29 Jun 2011 19:26:29 +0200 Subject: Add key binding for pipe-item command This removes the need of reading the whole data file and find matching entries if we want to parse appointments in external programs. Signed-off-by: Lukas Fleischer --- src/keys.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/keys.c') diff --git a/src/keys.c b/src/keys.c index 6f3316f..1a46530 100644 --- a/src/keys.c +++ b/src/keys.c @@ -91,6 +91,7 @@ static struct keydef_s keydef[NBKEYS] = { {"del-item", "d D"}, {"edit-item", "e E"}, {"view-item", "v V"}, + {"pipe-item", "|"}, {"flag-item", "!"}, {"repeat", "r R"}, {"edit-note", "n N"}, @@ -567,6 +568,8 @@ keys_popup_info (enum key key) _("Flag the currently selected item as important."); info[KEY_REPEAT_ITEM] = _("Repeat an item"); + info[KEY_PIPE_ITEM] = + _("Pipe the currently selected item to an external program."); info[KEY_EDIT_NOTE] = _("Attach (or edit if one exists) a note to the currently selected item"); info[KEY_VIEW_NOTE] = -- cgit v1.2.3