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_(" M merge selected items (into top one)\n"),
22 N_(" D duplicate item\n"),
23 N_(" U remove duplicates\n"),
25 N_(" space select item\n"),
26 N_(" + select all\n"),
27 N_(" - unselect all\n"),
28 N_(" * invert selection\n"),
30 N_(" w write database to disk\n"),
31 N_(" l read database from disk\n"),
32 N_(" C clear whole database\n"),
33 N_(" i import database\n"),
34 N_(" e export database\n"),
35 N_(" p print database\n"),
36 N_(" o open database\n"),
38 N_(" s sort database\n"),
39 N_(" S \"surname sort\"\n"),
40 N_(" F sort by field (defined in configuration file)\n"),
43 N_(" \\ search next occurrence\n"),
45 N_(" A move current item up\n"),
46 N_(" Z move current item down\n"),
48 N_(" m send mail with mutt\n"),
49 N_(" v view URL with web browser\n"),
54 static char *editorhelp[] = {
57 N_(" arrows/h,l change tab\n"),
59 N_(" q quit to main screen\n"),
61 N_(" 1 - 5 A - Z edit fields\n"),
63 N_(" k or < previous item\n"),
64 N_(" j or > next item\n"),
66 N_(" r roll e-mail addresses up\n"),
67 N_(" ESC-r roll e-mail addresses down\n"),
71 N_(" m send mail with mutt\n"),
72 N_(" v view url with web browser\n"),