From 7a5823fd605af80df483e1d3f3629e60503488de Mon Sep 17 00:00:00 2001 From: axel Date: Wed, 20 Sep 2006 00:52:03 +1000 Subject: Documentation updates from Beni Cherniavsky darcs-hash:20060919145203-ac50b-bc87b8f5e6a18395e4bc3e364da4a40ad97850e7.gz --- doc_src/bind.txt | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'doc_src/bind.txt') diff --git a/doc_src/bind.txt b/doc_src/bind.txt index 54e0cd9f..b5645182 100644 --- a/doc_src/bind.txt +++ b/doc_src/bind.txt @@ -1,14 +1,21 @@ \section bind bind - Handle key bindings. \subsection bind-synopsis Synopsis -bind [OPTIONS] [BINDINGS...] +bind [OPTIONS] [BINDINGS...] -The bind builtin causes fish to add the readline style bindings specified by BINDINGS to the list of key bindings. For more information on specifying keyboard bindings, use man readline to access the readline documentation. +The bind builtin causes fish to add the readline style bindings specified by BINDINGS to the list of key bindings, as if they appeared in your ~/.fish_inputrc file. + +For more information on the syntax keyboard bindings, use man +readline to access the readline documentation. The availiable commands +are listed in the Command Line Editor section +of the fish manual - but you may also use any fish command! To write such +commands, see the commandline builtin. It's good +practice to put the code into a function -b +and bind to the function name. \subsection bind-description Description - -M MODE or --set-mode=MODE sets the current input mode to MODE. - \subsection bind-example Example bind -M vi changes to the vi input mode -- cgit v1.2.3