-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
allow null in keybindings
#2222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow null in keybindings
#2222
Conversation
|
I've added a comment on your gocui PR @Ryooooooga . |
da2a709 to
7d643e3
Compare
7d643e3 to
299b07e
Compare
jesseduffield
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one thing :)
|
|
||
| For all possible keybinding options, check [Custom_Keybindings.md](https://github.com/jesseduffield/lazygit/blob/master/docs/keybindings/Custom_Keybindings.md) | ||
|
|
||
| You can disable certain key bindings by specifying `null`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add an example here to be more obvious i.e.:
keybinding:
universal:
edit: nullThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also should this be the null keyword or the string 'null'?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added.
also should this be the null keyword or the string 'null'?
I don't think it is necessary to accept the string 'null' since null keyword is clear enough in intent.
299b07e to
808b35d
Compare
|
Nice work @Ryooooooga ! |
solves: #2159
ref: #2161
requires: jesseduffield/gocui#23
go run scripts/cheatsheet/main.go generate)docs/Config.md) have been updated if necessary