refactor(nvim): simplify lazy loading configuration
This commit is contained in:
1 parent
7cbc0c9a7f
commit
1c70bbda10
1 file changed
+3
-3
@@ -3,8 +3,8 @@
|
|||||||
--- @module plugins.astrocore
|
--- @module plugins.astrocore
|
||||||
|
|
||||||
-- Import shared modules
|
-- Import shared modules
|
||||||
local ignore_patterns = require("config.ignore_patterns")
|
local ignore_patterns = require "config.ignore_patterns"
|
||||||
local terminals = require("config.terminals")
|
local terminals = require "config.terminals"
|
||||||
|
|
||||||
-- Initialize terminals
|
-- Initialize terminals
|
||||||
terminals.setup()
|
terminals.setup()
|
||||||
@@ -404,7 +404,7 @@ return {
|
|||||||
},
|
},
|
||||||
i = {
|
i = {
|
||||||
["<C-c>"] = { "<Cmd>wa<CR><Cmd>bd<CR><Esc>", desc = "Save, close buffer, and return to normal mode" },
|
["<C-c>"] = { "<Cmd>wa<CR><Cmd>bd<CR><Esc>", desc = "Save, close buffer, and return to normal mode" },
|
||||||
["<C-s>"] = { "<Cmd>wa<CR><Cmd>bd<CR><Esc>", desc = "Save, close buffer, and return to normal mode" }, -- Added C-x for insert mode
|
["<C-x>"] = { "<Cmd>wa<CR><Cmd>bd<CR><Esc>", desc = "Save, close buffer, and return to normal mode" }, -- Added C-x for insert mode
|
||||||
},
|
},
|
||||||
v = {
|
v = {
|
||||||
["<C-e>"] = { "<Cmd>Neotree toggle<CR>", desc = "Open Explorer" },
|
["<C-e>"] = { "<Cmd>Neotree toggle<CR>", desc = "Open Explorer" },
|
||||||
|
|||||||
Reference in new issue
Block a user