feat: add submap support and add pass_through submap

This commit is contained in:
2026-05-30 03:34:45 -04:00
parent bf1ada37d8
commit e162025c51
2 changed files with 35 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
local bind = require("lua.lib.bind")
local M = {}
M.binds = {
{
keys = bind.with_leader("P"),
dispatcher = hl.dsp.submap("pass_through"),
desc = "Pass through submap",
},
}
M.submaps = {
pass_through = {
{
keys = bind.with_leader("escape"),
dispatcher = hl.dsp.submap("reset"),
},
},
}
return M