refactor: Make the floating buffer configurable keymaps too

This commit is contained in:
NicolasGB
2025-11-23 16:34:42 +01:00
committed by Nicolas GB
parent 050608c2cc
commit c5a51a1beb
4 changed files with 53 additions and 24 deletions
+2 -2
View File
@@ -100,9 +100,9 @@ function M.status(opts)
else
-- Default behavior: show in buffer
local cmd = require("jj.cmd")
local keymaps = cmd.merge_keymaps(M.status_keymaps(), cmd.close_keymaps())
local keymaps = cmd.merge_keymaps(M.status_keymaps(), cmd.terminal_keymaps())
terminal.run(cmd_str, keymaps)
end
end
return M
return M