AutoYADM commit: 2024-11-26 14:30:05
This commit is contained in:
parent
fa680621b8
commit
261be59946
4 changed files with 54 additions and 14 deletions
|
@ -1 +0,0 @@
|
|||
return { "chrisgrieser/nvim-spider", lazy = true }
|
15
.config/nvim/lua/plugins/nvim-spider.lua
Normal file
15
.config/nvim/lua/plugins/nvim-spider.lua
Normal file
|
@ -0,0 +1,15 @@
|
|||
return {
|
||||
"chrisgrieser/nvim-spider",
|
||||
lazy = true,
|
||||
keys = {
|
||||
{ "e", "<cmd>lua require('spider').motion('e')<CR>", mode = { "n", "o", "x" } },
|
||||
{ "w", "<cmd>lua require('spider').motion('w')<CR>", mode = { "n", "o", "x" } },
|
||||
{ "b", "<cmd>lua require('spider').motion('b')<CR>", mode = { "n", "o", "x" } },
|
||||
},
|
||||
opts = {
|
||||
skipInsignificantPunctuation = true,
|
||||
consistentOperatorPending = false, -- see "Consistent Operator-pending Mode" in the README
|
||||
subwordMovement = true,
|
||||
customPatterns = {}, -- check "Custom Movement Patterns" in the README for details
|
||||
},
|
||||
}
|
24
.config/nvim/lua/plugins/text-case.lua
Normal file
24
.config/nvim/lua/plugins/text-case.lua
Normal file
|
@ -0,0 +1,24 @@
|
|||
return {
|
||||
"johmsalas/text-case.nvim",
|
||||
dependencies = { "nvim-telescope/telescope.nvim" },
|
||||
config = function()
|
||||
require("textcase").setup({})
|
||||
require("telescope").load_extension("textcase")
|
||||
end,
|
||||
keys = {
|
||||
"ga", -- Default invocation prefix
|
||||
{ "ga.", "<cmd>TextCaseOpenTelescope<CR>", mode = { "n", "x" }, desc = "Telescope" },
|
||||
},
|
||||
cmd = {
|
||||
-- NOTE: The Subs command name can be customized via the option "substitude_command_name"
|
||||
"Subs",
|
||||
"TextCaseOpenTelescope",
|
||||
"TextCaseOpenTelescopeQuickChange",
|
||||
"TextCaseOpenTelescopeLSPChange",
|
||||
"TextCaseStartReplacingCommand",
|
||||
},
|
||||
-- If you want to use the interactive feature of the `Subs` command right away, text-case.nvim
|
||||
-- has to be loaded on startup. Otherwise, the interactive feature of the `Subs` will only be
|
||||
-- available after the first executing of it or after a keymap of text-case.nvim has been used.
|
||||
lazy = false,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue