mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 05:28:49 +00:00
Teach down-or-search how to use down-arrow to begin pager navigation
This commit is contained in:
parent
2139334c36
commit
6d13b8bbc0
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue