Implement map -release

This commit is contained in:
Marten Ringwelski
2020-09-15 13:46:08 +02:00
committed by Isaac Freund
parent 7e02fb679c
commit 52cd871151
5 changed files with 76 additions and 32 deletions

View File

@ -123,9 +123,11 @@ that tag 1 through 9 are visible.
but let the currently focused window in focus.
When set to _strict_ this is not the case. The focus will be updated on every cursor movement.
*map* _mode_ _modifiers_ _key_ _command_
*map* [-release] _mode_ _modifiers_ _key_ _command_
_mode_ is either “normal” (the default mode) or a mode created with
*declare-mode*. _modifiers_ is a list of one or more of the following
*declare-mode*.
If _-release_ is specified the mapping is executed on key release rather than key press.
_modifiers_ is a list of one or more of the following
modifiers separated with a plus sign:
- Shift