8 /* TODO gettext: handle key and description separately? */
9 static char *mainhelp
[] = {
13 N_(" Q quit without saving\n"),
14 N_(" P quit and output selected item(s) to stderr\n"),
15 N_(" ^L refresh screen\n"),
17 N_(" arrows / j,k scroll list\n"),
18 N_(" enter view/edit item\n"),
20 N_(" r / del remove selected items\n"),
21 N_(" D duplicate item\n"),
23 N_(" space select item\n"),
24 N_(" + select all\n"),
25 N_(" - unselect all\n"),
26 N_(" * invert selection\n"),
28 N_(" w write database to disk\n"),
29 N_(" l read database from disk\n"),
30 N_(" C clear whole database\n"),
31 N_(" i import database\n"),
32 N_(" e export database\n"),
33 N_(" p print database\n"),
34 N_(" o open database\n"),
36 N_(" s sort database\n"),
37 N_(" S \"surname sort\"\n"),
38 N_(" F sort by field (defined in configuration file)\n"),
41 N_(" \\ search next occurrence\n"),
43 N_(" A move current item up\n"),
44 N_(" Z move current item down\n"),
46 N_(" m send mail with mutt\n"),
47 N_(" v view URL with web browser\n"),
52 static char *editorhelp
[] = {
55 N_(" arrows/h,l change tab\n"),
57 N_(" q quit to main screen\n"),
59 N_(" 1 - 5 A - Z edit fields\n"),
61 N_(" k or < previous item\n"),
62 N_(" j or > next item\n"),
64 N_(" r roll e-mail addresses up\n"),
65 N_(" ESC-r roll e-mail addresses down\n"),
69 N_(" m send mail with mutt\n"),
70 N_(" v view url with web browser\n"),