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