diff --git a/examples/lua/layer.lua b/examples/lua/layer.lua index d92fc2e..9e00acb 100644 --- a/examples/lua/layer.lua +++ b/examples/lua/layer.lua @@ -24,4 +24,4 @@ layer:map('n', '', function() layer:exit() end, {}) layer:enter() --[[ unmap `gg`. Notice that now both `gg` and `G` return the cursor to the top. ]] -layer:unmap('n', 'gg') +layer:unmap(nil, 'n', 'gg')