refactor(core): update AstroNvim configuration for improved performance and features
This commit is contained in:
1 parent
992cf65a50
commit
9a37a2db0f
4 files changed
+573
-555
No files matched your search
+4
-1
@@ -25,6 +25,9 @@ return {
|
||||
{ import = "astrocommunity.editing-support.conform-nvim" },
|
||||
{ import = "astrocommunity.lsp.inc-rename-nvim" },
|
||||
{ import = "astrocommunity.lsp.nvim-lsp-file-operations" },
|
||||
{ import = "astrocommunity.colorscheme.bamboo-nvim" },
|
||||
{ import = "astrocommunity.colorscheme.cyberdream-nvim" },
|
||||
{ import = "astrocommunity.completion.copilot-vim-cmp" },
|
||||
{ import = "astrocommunity.colorscheme.gruvbox-baby" },
|
||||
{ import = "astrocommunity.colorscheme.kanagawa-nvim" },
|
||||
{ import = "astrocommunity.colorscheme.kanagawa-paper-nvim" },
|
||||
}
|
||||
@@ -65,6 +65,16 @@ function M.setup()
|
||||
vim.api.nvim_buf_set_keymap(term.bufnr, "n", "q", "<cmd>close<CR>", { noremap = true, silent = true })
|
||||
end,
|
||||
}
|
||||
-- Mk (make) terminal
|
||||
local lazydocker = Terminal:new {
|
||||
cmd = "lazydocker",
|
||||
hidden = true,
|
||||
direction = "float",
|
||||
on_open = function(term)
|
||||
vim.cmd "startinsert!"
|
||||
vim.api.nvim_buf_set_keymap(term.bufnr, "n", "q", "<cmd>close<CR>", { noremap = true, silent = true })
|
||||
end,
|
||||
}
|
||||
|
||||
-- Scratch terminal
|
||||
local scratch = Terminal:new {
|
||||
@@ -80,6 +90,7 @@ function M.setup()
|
||||
M.scooter_toggle = function() scooter:toggle() end
|
||||
M.mk_toggle = function() mk:toggle() end
|
||||
M.lazygit_toggle = function() lazygit:toggle() end
|
||||
M.lazydocker_toggle = function() lazydocker:toggle() end
|
||||
M.smartCommit_toggle = function() smartCommit:toggle() end
|
||||
M.scratch_toggle = function() scratch:toggle() end
|
||||
end
|
||||
|
||||
+558
-553
File diff suppressed because it is too large.
Load diff
@@ -13,7 +13,6 @@ return {
|
||||
GitChange = "",
|
||||
GitDelete = "",
|
||||
},
|
||||
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user