aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/bind.txt
diff options
context:
space:
mode:
authorGravatar Kevin Ballard <kevin@sb.org>2014-09-22 21:04:06 -0700
committerGravatar Kevin Ballard <kevin@sb.org>2014-09-22 21:04:06 -0700
commit0a3f2205729d13897e86efe2b7d9452000117605 (patch)
treed90226dfbc496312cfa1d4de2b39c503d4ed905e /doc_src/bind.txt
parent5eee7d17f610f58e4e797529f64751c18e237559 (diff)
Rework mode handling of `bind`
Binds with the same sequence in multiple modes was not working right. Fix up the implementation to propagate modes everywhere as necessary. This means that `bind` will properly list distinct binds with the same sequence, and `bind -e` will take mode into account properly as well. Note that `bind -e seq` now assumes the bind is in the default bind mode, whereas before it would erase the first binding with that sequence regardless of mode. `bind -e -a` still erases all binds in all modes, though `bind -M mode -e -a` still only erases all binds in the selected mode.
Diffstat (limited to 'doc_src/bind.txt')
-rw-r--r--doc_src/bind.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc_src/bind.txt b/doc_src/bind.txt
index 0bb52d90..93e1f80d 100644
--- a/doc_src/bind.txt
+++ b/doc_src/bind.txt
@@ -43,7 +43,7 @@ The following parameters are available:
- `-m NEW_MODE` or `--sets-mode NEW_MODE` Change the current mode to `NEW_MODE` after this binding is executed
-- `-e` or `--erase` Erase the binding with the given sequence and mode instead of defining a new one. Multiple sequences can be specified with this flag. Specifying `-a` or `--all` erases all binds in this mode regardless of sequence.
+- `-e` or `--erase` Erase the binding with the given sequence and mode instead of defining a new one. Multiple sequences can be specified with this flag. Specifying `-a` or `--all` with `-M` or `--mode` erases all binds in the given mode regardless of sequence. Specifying `-a` or `--all` without `-M` or `--mode` erases all binds in all modes regardless of sequence.
- `-a` or `--all` See `--erase` and `--key-names`