Add Meta+H as keybinding for man page.

Apparently, in zsh, Meta+H can be used to display the manpage for
the current command. This commit adds this zsh feature to fish shell.

The F1 keybinding is left, although it's now secondary according to
fish help, as some terminal emulators don't let the user press F1 key.
This commit is contained in:
Konrad Borowski
2014-09-28 11:09:14 +02:00
parent b00cbae4b5
commit 26051ea198
3 changed files with 8 additions and 3 deletions

View File

@@ -896,7 +896,7 @@ Similar to bash, fish has Emacs and Vi editing modes. The default editing mode i
- @key{Alt,U} makes the current word uppercase.
- @key{F1} shows the manual page for the current command, if one exists.
- @key{Alt,H} (or @key{F1}) shows the manual page for the current command, if one exists.
You can change these key bindings using the <a href="commands.html#bind">bind</a> builtin command.