aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/bind.txt
diff options
context:
space:
mode:
authorGravatar Rubycut <ruby.cutter@gmail.com>2012-08-03 12:20:33 +0300
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-08-04 11:32:04 -0700
commit1b8f1650dc9959ace0df2037f751682e73b5bb1d (patch)
tree7bfe1afe96d41e217061d6f8fe2b31f4ef2bd9df /doc_src/bind.txt
parent1070b34996e6b21577a021246de250fa2e4bf19b (diff)
explain how to load binds automatically
Diffstat (limited to 'doc_src/bind.txt')
-rw-r--r--doc_src/bind.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc_src/bind.txt b/doc_src/bind.txt
index 74fead12..7d6a3b7c 100644
--- a/doc_src/bind.txt
+++ b/doc_src/bind.txt
@@ -45,6 +45,9 @@ bind to the function name. This way it becomes significantly easier to
test the function while editing, and the result is usually more
readable as well.
+If you want to autoload bindings each time you start shell, you should
+define them inside fish_user_keybindings function.
+
- <tt>-a</tt> or <tt>--all</tt> If --key-names is specified, show all key names, not only the ones that actually are defined for the current terminal. If erase mode is specified, this switch will cause all current bindings to be erased.
- <tt>-e</tt> or <tt>--erase</tt> Erase mode. All non-switch arguments are interpreted as character sequences and any commands associated with those sequences are erased.
- <tt>-h</tt> or <tt>--help</tt> Display help and exit