mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
Meta-p shortcut for piping output through pager
darcs-hash:20051007143631-ac50b-0f9586faf1d2a515bc044a23a890958c32a98a4b.gz
This commit is contained in:
parent
1917ce96f4
commit
1f60bfa55f
1 changed files with 2 additions and 1 deletions
|
@ -18,7 +18,8 @@ $if fish
|
|||
"\M-k": dump-functions
|
||||
"\M-d": if test -z (commandline); dirh; else; commandline -f kill-word; end
|
||||
"\C-d": delete-or-exit
|
||||
|
||||
# This will make sure the output of the current command is paged using the less pager when you press Meta-p
|
||||
"\M-p": if commandline -j|grep -v "less *$" >/dev/null; commandline -aj "|less;"; end
|
||||
$endif
|
||||
|
||||
# Include user-specific inputrc file after including fish-specific
|
||||
|
|
Loading…
Reference in a new issue