diff options
author | Yorhel <git@yorhel.nl> | 2014-02-13 09:10:44 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2014-02-13 09:10:44 +0100 |
commit | eef584251db2a08eb897fc71b119ddaa3eff5de0 (patch) | |
tree | 8ae048524d81b06648d3ae438467f31076ded17d | |
parent | fcb41e5fa0be6e19893e6ee59d7389824e5337a3 (diff) |
doc.h: Only list search keys for browse+userlist, merge ,/.
The ",/." thing may look a bit confusing as the search key itself is
'/', but I suspect it'll be alright. At least it's consistent with some
other use of "x/y" in the docs.
-rw-r--r-- | src/doc.h | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -616,10 +616,11 @@ static const doc_set_t doc_sets[] = { "Up/Down Select one item up/down.\n"\ "k/j Select one item up/down.\n"\ "PgUp/PgDown Select one page of items up/down.\n"\ - "End/Home Select last/first item in the list.\n"\ + "End/Home Select last/first item in the list.\n" + +#define SEARCH_KEYS \ "/ Start incremental regex search (press Return to stop editing).\n"\ - ", Search next.\n"\ - ". Search previous.\n" + ",/. Search next / previous.\n" typedef struct doc_key_t { char const *sect, *title, *desc; @@ -661,6 +662,7 @@ static const doc_key_t doc_keys[] = { }, { "browse", "File browser", LISTING_KEYS + SEARCH_KEYS "Right/l Open selected directory.\n" "Left/h Open parent directory.\n" "t Toggle sorting directories before files.\n" @@ -716,6 +718,7 @@ static const doc_key_t doc_keys[] = { }, { "userlist", "User list tab", LISTING_KEYS + SEARCH_KEYS "o Toggle sorting OPs before others.\n" "s/S Order by share size.\n" "u/U Order by username.\n" @@ -734,5 +737,6 @@ static const doc_key_t doc_keys[] = { }; #undef LISTING_KEYS +#undef SEARCH_KEYS #endif // DOC_KEY |