From 9fa0edcbc9aad41371aae50e75d48edb9c863527 Mon Sep 17 00:00:00 2001 From: Elliott Beach Date: Sun, 6 Aug 2017 21:56:00 -0500 Subject: [PATCH] document bind behavior when mixing command types Fixes 3683 --- doc_src/bind.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc_src/bind.txt b/doc_src/bind.txt index 9bf1c651d..3b1486420 100644 --- a/doc_src/bind.txt +++ b/doc_src/bind.txt @@ -28,7 +28,7 @@ When `COMMAND` is a shellscript command, it is a good practice to put the actual If such a script produces output, the script needs to finish by calling `commandline -f repaint` in order to tell fish that a repaint is in order. -When multiple `COMMAND`s are provided, they are all run in the specified order when the key is pressed. +When multiple `COMMAND`s are provided, they are all run in the specified order when the key is pressed. Note that special input functions cannot be combined with ordinary shell script commands. The commands must be entirely a sequence of special input functions (from `bind -f`) or all shell script commands (i.e., valid fish script). If no `SEQUENCE` is provided, all bindings (or just the bindings in the specified `MODE`) are printed. If `SEQUENCE` is provided without `COMMAND`, just the binding matching that sequence is printed.