diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-01-18 12:42:53 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-01-18 12:42:53 -0800 |
commit | 808bc42f2a75e4af70ae992f6b7c1a4bf59eac50 (patch) | |
tree | cc236e47eb3a0d9028fae2f6aafbb78efbce8e59 /share/functions/up-or-search.fish | |
parent | 9920047b346cd2aeb1a086dbd3c2e1e9856fd2b0 (diff) |
Further work on keyboard navigating the completion list
Diffstat (limited to 'share/functions/up-or-search.fish')
-rw-r--r-- | share/functions/up-or-search.fish | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/share/functions/up-or-search.fish b/share/functions/up-or-search.fish index fc51d710..98179ad7 100644 --- a/share/functions/up-or-search.fish +++ b/share/functions/up-or-search.fish @@ -5,6 +5,12 @@ function up-or-search -d "Depending on cursor position and current mode, either return end + # If we are navigating the pager, then up always navigates + if commandline --paging-mode + commandline -f up-line + return + end + # We are not already in search mode. # If we are on the top line, start search mode, # otherwise move up |