nvim: Move flash.nvim and spellsync out of base modules

Since flash, while integral to my day-to-day editing is not about
providing a _base_ to other plugins, but editing, it moved to the
editing module.

Spellsync is only really useful in a prose context in my workflows, so
this is where it went.
This commit is contained in:
Marty Oehme 2025-12-11 18:37:23 +01:00
parent b7d2fdea3d
commit ab3a104a85
Signed by: Marty
GPG key ID: 4E535BC19C61886E
3 changed files with 40 additions and 40 deletions

View file

@ -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 {
{ "<leader>vm", ":Mason<cr>", desc = "Mason" },
},
},
-- personal dict improvements for git sync
{ "micarmst/vim-spellsync", event = "VeryLazy" },
{
"folke/which-key.nvim",
event = "CursorHold",

View file

@ -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
{

View file

@ -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