Add new pager-toggle-search input function

This adds a new input binding pager-toggle-search which toggles the
search field on and off when the pager is showing.
This commit is contained in:
ridiculousfish
2018-01-30 09:39:04 -08:00
parent f135c53196
commit d0d7bb75cd
5 changed files with 14 additions and 0 deletions

View File

@@ -84,6 +84,7 @@ static const input_function_metadata_t input_function_metadata[] = {
{R_YANK_POP, L"yank-pop"},
{R_COMPLETE, L"complete"},
{R_COMPLETE_AND_SEARCH, L"complete-and-search"},
{R_PAGER_TOGGLE_SEARCH, L"pager-toggle-search"},
{R_BEGINNING_OF_HISTORY, L"beginning-of-history"},
{R_END_OF_HISTORY, L"end-of-history"},
{R_BACKWARD_KILL_LINE, L"backward-kill-line"},