From 1b8f1650dc9959ace0df2037f751682e73b5bb1d Mon Sep 17 00:00:00 2001 From: Rubycut Date: Fri, 3 Aug 2012 12:20:33 +0300 Subject: [PATCH] explain how to load binds automatically --- doc_src/bind.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc_src/bind.txt b/doc_src/bind.txt index 74fead123..7d6a3b7cb 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. + - -a or --all 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. - -e or --erase Erase mode. All non-switch arguments are interpreted as character sequences and any commands associated with those sequences are erased. - -h or --help Display help and exit