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:
parent
b7d2fdea3d
commit
ab3a104a85
3 changed files with 40 additions and 40 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue