refactor(nvim): simplify lazy loading configuration
This commit is contained in:
1 parent
e7da050111
commit
65b4d2bbc7
1 file changed
+2
-2
@@ -57,9 +57,9 @@ function M.setup()
|
|||||||
}
|
}
|
||||||
-- Mk (make) terminal
|
-- Mk (make) terminal
|
||||||
local mk = Terminal:new {
|
local mk = Terminal:new {
|
||||||
cmd = "mk -t",
|
cmd = "task",
|
||||||
hidden = true,
|
hidden = true,
|
||||||
direction = "horizontal",
|
direction = "tab",
|
||||||
on_open = function(term)
|
on_open = function(term)
|
||||||
vim.cmd "startinsert!"
|
vim.cmd "startinsert!"
|
||||||
vim.api.nvim_buf_set_keymap(term.bufnr, "n", "q", "<cmd>close<CR>", { noremap = true, silent = true })
|
vim.api.nvim_buf_set_keymap(term.bufnr, "n", "q", "<cmd>close<CR>", { noremap = true, silent = true })
|
||||||
|
|||||||
Reference in new issue
Block a user