diff options
author | axel <axel@liljencrantz.se> | 2005-09-20 23:31:55 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2005-09-20 23:31:55 +1000 |
commit | 7ddecde54372c25fcf526e2d24807c5dac9800aa (patch) | |
tree | 1bff6e0ccd096836adb74529d53a6debcf45375b /doc_src/bind.txt | |
parent | 149594f974350bb364a76c73b91b1d5ffddaa1fa (diff) |
Add subdirectories
darcs-hash:20050920133155-ac50b-9a14c6c664dd03afbe8e15e7c7998fcfb5c3c750.gz
Diffstat (limited to 'doc_src/bind.txt')
-rw-r--r-- | doc_src/bind.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc_src/bind.txt b/doc_src/bind.txt new file mode 100644 index 00000000..54e0cd9f --- /dev/null +++ b/doc_src/bind.txt @@ -0,0 +1,16 @@ +\section bind bind - Handle key bindings. + +\subsection bind-synopsis Synopsis +<tt>bind [OPTIONS] [BINDINGS...] </tt> + +The <tt>bind</tt> builtin causes fish to add the readline style bindings specified by <tt>BINDINGS</tt> to the list of key bindings. For more information on specifying keyboard bindings, use <tt>man readline</tt> to access the readline documentation. + +\subsection bind-description Description +- <tt>-M MODE</tt> or <tt>--set-mode=MODE</tt> sets the current input mode to MODE. + + +\subsection bind-example Example + +<tt>bind -M vi</tt> changes to the vi input mode + +<tt>bind '"\\M-j": jobs'</tt> Binds the jobs command to the Alt-j keyboard shortcut |