diff --git a/lua/plugins/coding.lua b/lua/plugins/coding.lua index f426fb0..ad9fe0f 100644 --- a/lua/plugins/coding.lua +++ b/lua/plugins/coding.lua @@ -47,6 +47,7 @@ return { { import = "lazyvim.plugins.extras.vscode" }, { "echasnovski/mini.align", + event = "InsertEnter", config = function() require("mini.align").setup() end, @@ -90,13 +91,14 @@ return { }, { "norcalli/nvim-colorizer.lua", + event = "InsertEnter", config = function() require("colorizer").setup() end, }, { "gbprod/substitute.nvim", - event = "VeryLazy", + event = "InsertEnter", opts = { yank_substituted_text = false, preserve_cursor_position = true, @@ -105,10 +107,10 @@ return { }, }, }, - { - "vim-scripts/AnsiEsc.vim", - lazy = true, - }, + -- { + -- "vim-scripts/AnsiEsc.vim", + -- event = "VeryLazy", + -- }, { "shellRaining/hlchunk.nvim", event = "BufEnter", diff --git a/lua/plugins/editor.lua b/lua/plugins/editor.lua index 7bb5c12..d89b7c9 100644 --- a/lua/plugins/editor.lua +++ b/lua/plugins/editor.lua @@ -33,6 +33,7 @@ return { { "gorbit99/codewindow.nvim", version = false, + event = "InsertEnter", config = function() require("codewindow").setup({ active_in_terminals = false, -- Should the minimap activate for terminal buffers @@ -67,6 +68,7 @@ return { }, { "amitds1997/remote-nvim.nvim", + event = "VeryLazy", version = "*", -- Pin to GitHub releases dependencies = { "nvim-lua/plenary.nvim", -- For standard functions diff --git a/lua/plugins/util.lua b/lua/plugins/util.lua index b2d36ab..c088112 100644 --- a/lua/plugins/util.lua +++ b/lua/plugins/util.lua @@ -47,9 +47,9 @@ return { vim.g.unception_block_while_host_edits = true end, }, - { + { -- 🍎 Icon Picker "ziontee113/icon-picker.nvim", - event = "VeryLazy", + event = "InsertEnter", config = function() require("icon-picker").setup({ disable_legacy_commands = true }) end, @@ -70,7 +70,7 @@ return { }, { "mistricky/codesnap.nvim", - event = "VeryLazy", + event = "InsertEnter", build = "make", opts = { save_path = "~/Pictures/Screenshots/", @@ -84,7 +84,7 @@ return { }, { "mistweaverco/kulala.nvim", - lazy = true, + event = "InsertEnter", config = function() require("kulala").setup() end, diff --git a/lua/ui/ui.lua b/lua/ui/ui.lua index e8ecfd8..7a75a10 100644 --- a/lua/ui/ui.lua +++ b/lua/ui/ui.lua @@ -3,10 +3,13 @@ return { { import = "lazyvim.plugins.extras.ui.mini-animate" }, { "xiyaowong/transparent.nvim", + event = "VeryLazy", config = true, }, { "gen740/SmoothCursor.nvim", + event = "InsertEnter", + lazy = true, config = function() require("smoothcursor").setup({ type = "default", @@ -90,7 +93,7 @@ return { { "akinsho/toggleterm.nvim", version = false, - lazy = false, + event = "VeryLazy", config = function() require("toggleterm").setup({ -- size can be a number or function which is passed the current terminal diff --git a/lua/ui/wezterm.lua b/lua/ui/wezterm.lua index 7f50be2..6d44c65 100644 --- a/lua/ui/wezterm.lua +++ b/lua/ui/wezterm.lua @@ -2,10 +2,10 @@ -- --------------------------------- WezTerm ----------------------------------- -- ----------------------------------------------------------------------------- return { - "willothy/wezterm.nvim", - config = true, - cond = function() -- Using WezTerm + "willothy/wezterm.nvim", + config = true, + cond = function() -- Using WezTerm local term = os.getenv("TERM_PROGRAM") return term and string.find(term, "WezTerm") - end, + end, }