update
This commit is contained in:
parent
65b6905417
commit
4197317adf
5 changed files with 156 additions and 124 deletions
|
|
@ -1,5 +1,6 @@
|
|||
return {
|
||||
"ThePrimeagen/harpoon",
|
||||
lazy = false,
|
||||
config = function()
|
||||
require("harpoon").setup({
|
||||
global_settings = {
|
||||
|
|
|
|||
|
|
@ -36,4 +36,26 @@ return {
|
|||
})
|
||||
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",
|
||||
"gitlint",
|
||||
"intelephense",
|
||||
"luacheck",
|
||||
"markdownlint",
|
||||
"php-cs-fixer",
|
||||
"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