mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Fix F1 binding to work with multiple tokens.
This commit is contained in:
parent
f8b21fe199
commit
1d0279eac5
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fis
|
|||
bind \ed kill-word
|
||||
|
||||
# Allow reading manpages by pressing F1
|
||||
bind $argv -k f1 'man (basename (commandline -po; echo))[1] ^/dev/null; or echo -n \a'
|
||||
bind $argv -k f1 'man (basename (commandline -po; echo)[1]) ^/dev/null; or echo -n \a'
|
||||
|
||||
# This will make sure the output of the current command is paged using the less pager when you press Meta-p
|
||||
bind $argv \ep '__fish_paginate'
|
||||
|
|
Loading…
Reference in a new issue