mirror of
https://github.com/gitui-org/gitui
synced 2026-05-22 16:38:28 +00:00
update docs to new bitflags serialization
This commit is contained in:
parent
f1da79b4b2
commit
e7bc4084da
1 changed files with 7 additions and 6 deletions
|
|
@ -7,14 +7,15 @@ However popular demand lead to fully customizability of the key bindings.
|
|||
Create a `key_bindings.ron` file like this:
|
||||
```
|
||||
(
|
||||
move_left: Some(( code: Char('h'), modifiers: ( bits: 0,),)),
|
||||
move_right: Some(( code: Char('l'), modifiers: ( bits: 0,),)),
|
||||
move_up: Some(( code: Char('k'), modifiers: ( bits: 0,),)),
|
||||
move_down: Some(( code: Char('j'), modifiers: ( bits: 0,),)),
|
||||
move_left: Some(( code: Char('h'), modifiers: "")),
|
||||
move_right: Some(( code: Char('l'), modifiers: "")),
|
||||
move_up: Some(( code: Char('k'), modifiers: "")),
|
||||
move_down: Some(( code: Char('j'), modifiers: "")),
|
||||
|
||||
stash_open: Some(( code: Char('l'), modifiers: ( bits: 0,),)),
|
||||
stash_open: Some(( code: Char('l'), modifiers: "")),
|
||||
open_help: Some(( code: F(1), modifiers: "")),
|
||||
|
||||
open_help: Some(( code: F(1), modifiers: ( bits: 0,),)),
|
||||
status_reset_item: Some(( code: Char('U'), modifiers: "SHIFT")),
|
||||
)
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue