diff options
author | Fabian Homborg <FHomborg@gmail.com> | 2015-10-24 22:35:00 +0200 |
---|---|---|
committer | Fabian Homborg <FHomborg@gmail.com> | 2016-01-24 14:32:43 +0100 |
commit | 7c4f553acc69d2bd33979d566606b4a6ef750779 (patch) | |
tree | 81dd6ca1473566c9278d3e93efa6b6819b2f0f1b /doc_src | |
parent | 4eb6aaf36fd910a37550d08b0242688cd8da66af (diff) |
Better document that binds in config.fish don't work
Fixes #230
Diffstat (limited to 'doc_src')
-rw-r--r-- | doc_src/bind.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc_src/bind.txt b/doc_src/bind.txt index 8a099eb3..b5074ac2 100644 --- a/doc_src/bind.txt +++ b/doc_src/bind.txt @@ -31,7 +31,7 @@ When multiple `COMMAND`s are provided, they are all run in the specified order w 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. -Key bindings are not saved between sessions by default. To save custom keybindings, edit the `fish_user_key_bindings` function and insert the appropriate `bind` statements. +Key bindings are not saved between sessions by default. **Bare `bind` statements in <a href="index.html#initialization">config.fish</a> won't have any effect because it is sourced before the default keybindings are setup.** To save custom keybindings, put the `bind` statements into a function called `fish_user_key_bindings`, which will be <a href="tutorial.html#tut_autoload">autoloaded</a>. Key bindings may use "modes", which mimics Vi's modal input behavior. The default mode is "default", and every bind applies to a single mode. The mode can be viewed/changed with the `$fish_bind_mode` variable. |