reverse the order of args in keymap.unbind

This commit is contained in:
takase1121 2021-09-08 23:17:50 +08:00
parent 7e4236a82f
commit 5cc23348a1
No known key found for this signature in database
GPG Key ID: 60EEFFC68EB3031B
1 changed files with 1 additions and 1 deletions

View File

@ -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