fix: addet keymaps for cmdline directly into the plugin file
This commit is contained in:
parent
c163136c6f
commit
2d8f9c127b
2 changed files with 13 additions and 15 deletions
|
@ -82,19 +82,21 @@ return {
|
|||
winhighlight = "Normal:Normal,FloatBorder:FloatBorder",
|
||||
},
|
||||
},
|
||||
hooks = {
|
||||
before_mount = function(input)
|
||||
-- code
|
||||
end,
|
||||
after_mount = function(input)
|
||||
-- code
|
||||
end,
|
||||
set_keymaps = function(imap, feedkeys)
|
||||
-- code
|
||||
end,
|
||||
},
|
||||
-- hooks = {
|
||||
-- before_mount = function(input)
|
||||
-- -- code
|
||||
-- end,
|
||||
-- after_mount = function(input)
|
||||
-- -- code
|
||||
-- end,
|
||||
-- set_keymaps = function(imap, feedkeys)
|
||||
-- -- code
|
||||
-- end,
|
||||
-- },
|
||||
})
|
||||
end,
|
||||
vim.api.nvim_set_keymap("n", ":", "<cmd>FineCmdline<CR>", { noremap = true }),
|
||||
vim.keymap.set("n", "T", "<cmd>FineCmdline<CR>"),
|
||||
},
|
||||
|
||||
-- ╭───────────────────────────────────────╮
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue