mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-30 06:37:14 +09:00
Changing behavior for TryBindKey() for lua to not write to bindings.json
This commit is contained in:
@@ -844,7 +844,7 @@ func (h *BufPane) BindCmd(args []string) {
|
||||
return
|
||||
}
|
||||
|
||||
_, err := TryBindKey(parseKeyArg(args[0]), args[1], true)
|
||||
_, err := TryBindKey(parseKeyArg(args[0]), args[1], true, true)
|
||||
if err != nil {
|
||||
if errors.Is(err, util.ErrOverwrite) {
|
||||
screen.TermMessage(err)
|
||||
|
||||
Reference in New Issue
Block a user