nvim: Lazy load editing plugins after entering insert

This commit is contained in:
Marty Oehme 2024-02-10 13:37:14 +01:00
parent 7e3377d60d
commit 683cd64b26
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -2,7 +2,7 @@ return {
-- adds exchange operator with cx. common use: cxiw . on 2 words to switch -- adds exchange operator with cx. common use: cxiw . on 2 words to switch
{ {
"tommcdo/vim-exchange", "tommcdo/vim-exchange",
event = "VeryLazy", event = "InsertEnter",
}, },
-- Align tables and other alignable things -- Align tables and other alignable things
{ {
@ -14,7 +14,7 @@ return {
}, },
}, },
-- surround things with other things using ys/cs/ds -- surround things with other things using ys/cs/ds
{ "kylechui/nvim-surround", version = "*", config = true, event = "VeryLazy" }, { "kylechui/nvim-surround", config = true, event = "InsertEnter" },
-- extend the ^a / ^x possibilities to dates, hex, alphabets, markdown headers -- extend the ^a / ^x possibilities to dates, hex, alphabets, markdown headers
{ {