forked from NotAShelf/beer
config: add a [mouse-bindings] table for rebindable buttons
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I8b4bfdd5c594a29f06c73aed0f7b07a46a6a6964
This commit is contained in:
parent
fb590c1645
commit
3e49e94f56
5 changed files with 177 additions and 15 deletions
|
|
@ -123,6 +123,22 @@ _unicode-input_.
|
|||
"Ctrl+`" = "none"
|
||||
```
|
||||
|
||||
# [mouse-bindings]
|
||||
|
||||
A table of _button-chord_ = _action_ entries, merged over the built-in
|
||||
defaults. A chord is optional modifiers and a button joined by _+_, e.g.
|
||||
_"Shift+Middle"_. Buttons are _Left_, _Middle_, and _Right_. The actions are
|
||||
the same set as *[key-bindings]*. An action of _"none"_ unbinds the chord. The
|
||||
left button's select/drag is a built-in gesture and is not rebindable.
|
||||
|
||||
The only default is _"Middle" = "paste-primary"_.
|
||||
|
||||
```
|
||||
[mouse-bindings]
|
||||
"Right" = "paste"
|
||||
"Middle" = "none"
|
||||
```
|
||||
|
||||
# [shell-integration]
|
||||
|
||||
Behaviour driven by *OSC 7* (cwd) and *OSC 133* (prompt) marks.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue