reverse the order of args in keymap.unbind
This commit is contained in:
parent
7e4236a82f
commit
5cc23348a1
|
@ -77,7 +77,7 @@ local function remove_only(tbl, k, v)
|
|||
end
|
||||
|
||||
|
||||
function keymap.unbind(cmd, key)
|
||||
function keymap.unbind(key, cmd)
|
||||
remove_only(keymap.map, key, cmd)
|
||||
remove_only(keymap.reverse_map, cmd, key)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue