Teach down-or-search how to use down-arrow to begin pager navigation

This commit is contained in:
ridiculousfish 2014-01-25 15:32:13 -08:00
parent 2139334c36
commit 6d13b8bbc0

View file

@ -5,6 +5,13 @@ function down-or-search -d "Depending on cursor position and current mode, eithe
return
end
# If we are navigating the pager, then up always navigates
if commandline --paging-mode
commandline -f down-line
return
end
# We are not already in search mode.
# If we are on the bottom line, start search mode,
# otherwise move down