diff --git a/nvim/.config/nvim/lua/modules/base.lua b/nvim/.config/nvim/lua/modules/base.lua index 988eb8d..68ac21f 100644 --- a/nvim/.config/nvim/lua/modules/base.lua +++ b/nvim/.config/nvim/lua/modules/base.lua @@ -43,44 +43,6 @@ return { }, }, }, - -- jump between letters with improved fFtT quicksearch, mimics sneak - { - "folke/flash.nvim", - event = "VeryLazy", - opts = { - modes = { - search = { - enabled = false, - }, - }, - }, - keys = { - { - "s", - mode = { "n", "x" }, - function() - require("flash").jump() - end, - desc = "Flash", - }, - { - "S", - mode = { "n", "x", "o" }, - function() - require("flash").treesitter() - end, - desc = "Flash Treesitter", - }, - { - "r", - mode = "o", - function() - require("flash").remote() - end, - desc = "Remote Flash", - }, - }, - }, -- generic tool installer; automatic external dependency mgmt for neovim -- used in my config for LSPs, formatters and linters @@ -100,8 +62,6 @@ return { { "vm", ":Mason", desc = "Mason" }, }, }, - -- personal dict improvements for git sync - { "micarmst/vim-spellsync", event = "VeryLazy" }, { "folke/which-key.nvim", event = "CursorHold", diff --git a/nvim/.config/nvim/lua/modules/editing.lua b/nvim/.config/nvim/lua/modules/editing.lua index 2c37409..e73c6ec 100644 --- a/nvim/.config/nvim/lua/modules/editing.lua +++ b/nvim/.config/nvim/lua/modules/editing.lua @@ -2,6 +2,44 @@ return { -- surround things with other things using ys/cs/ds { "kylechui/nvim-surround", config = true, event = { "CursorHold", "InsertEnter" } }, + -- jump between letters with improved fFtT quicksearch, mimics sneak + { + "folke/flash.nvim", + event = "VeryLazy", + opts = { + modes = { + search = { + enabled = false, + }, + }, + }, + keys = { + { + "s", + mode = { "n", "x" }, + function() + require("flash").jump() + end, + desc = "Flash", + }, + { + "S", + mode = { "n", "x", "o" }, + function() + require("flash").treesitter() + end, + desc = "Flash Treesitter", + }, + { + "r", + mode = "o", + function() + require("flash").remote() + end, + desc = "Remote Flash", + }, + }, + }, -- extend the ^x / ^a possibilities to dates, hex, alphabets, markdown headers -- REMAPPED TO C-X / C-S for decrement/increment { diff --git a/nvim/.config/nvim/lua/modules/prose.lua b/nvim/.config/nvim/lua/modules/prose.lua index 0d277f3..3c2bed1 100644 --- a/nvim/.config/nvim/lua/modules/prose.lua +++ b/nvim/.config/nvim/lua/modules/prose.lua @@ -340,6 +340,8 @@ local prose_plugs = { dependencies = { "nvim-treesitter/nvim-treesitter" }, event = { "BufEnter *.mdx" }, -- since the plug itself defines mdx ft }, + -- personal dict improvements for git sync + { "micarmst/vim-spellsync", event = "VeryLazy" }, } return prose_plugs