diff --git a/init/fish_inputrc b/init/fish_inputrc index f252ca31a..f4ebb685e 100644 --- a/init/fish_inputrc +++ b/init/fish_inputrc @@ -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