update
This commit is contained in:
parent
65b6905417
commit
4197317adf
5 changed files with 156 additions and 124 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
return {
|
return {
|
||||||
"ThePrimeagen/harpoon",
|
"ThePrimeagen/harpoon",
|
||||||
|
lazy = false,
|
||||||
config = function()
|
config = function()
|
||||||
require("harpoon").setup({
|
require("harpoon").setup({
|
||||||
global_settings = {
|
global_settings = {
|
||||||
|
|
|
||||||
|
|
@ -36,4 +36,26 @@ return {
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"chrisgrieser/nvim-various-textobjs",
|
||||||
|
lazy = false,
|
||||||
|
opts = { useDefaultKeymaps = true },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"RRethy/nvim-treesitter-textsubjects",
|
||||||
|
lazy = false,
|
||||||
|
config = function()
|
||||||
|
require("nvim-treesitter.configs").setup({
|
||||||
|
textsubjects = {
|
||||||
|
enable = true,
|
||||||
|
prev_selection = ",", -- (Optional) keymap to select the previous selection
|
||||||
|
keymaps = {
|
||||||
|
["."] = "textsubjects-smart",
|
||||||
|
[";"] = "textsubjects-container-outer",
|
||||||
|
["i;"] = "textsubjects-container-inner",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@ return {
|
||||||
"fixjson",
|
"fixjson",
|
||||||
"gitlint",
|
"gitlint",
|
||||||
"intelephense",
|
"intelephense",
|
||||||
"luacheck",
|
|
||||||
"markdownlint",
|
"markdownlint",
|
||||||
"php-cs-fixer",
|
"php-cs-fixer",
|
||||||
"prettierd",
|
"prettierd",
|
||||||
|
|
|
||||||
10
config/astronvim/lua/user/plugins/nvim-spider.lua
Normal file
10
config/astronvim/lua/user/plugins/nvim-spider.lua
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
return {
|
||||||
|
"chrisgrieser/nvim-spider",
|
||||||
|
event = "VeryLazy",
|
||||||
|
config = function()
|
||||||
|
vim.keymap.set({ "n", "o", "x" }, "w", "<cmd>lua require('spider').motion('w')<CR>", { desc = "Spider-w" })
|
||||||
|
vim.keymap.set({ "n", "o", "x" }, "e", "<cmd>lua require('spider').motion('e')<CR>", { desc = "Spider-e" })
|
||||||
|
vim.keymap.set({ "n", "o", "x" }, "b", "<cmd>lua require('spider').motion('b')<CR>", { desc = "Spider-b" })
|
||||||
|
vim.keymap.set({ "n", "o", "x" }, "ge", "<cmd>lua require('spider').motion('ge')<CR>", { desc = "Spider-ge" })
|
||||||
|
end,
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue