spider: initial setup
This commit is contained in:
parent
b7820a7571
commit
14452344b4
3 changed files with 13 additions and 0 deletions
4
.gitmodules
vendored
4
.gitmodules
vendored
|
|
@ -129,3 +129,7 @@
|
||||||
path = pack/general/start/nvim-surround
|
path = pack/general/start/nvim-surround
|
||||||
url = https://github.com/kylechui/nvim-surround
|
url = https://github.com/kylechui/nvim-surround
|
||||||
branch = main
|
branch = main
|
||||||
|
[submodule "pack/general/start/nvim-spider"]
|
||||||
|
path = pack/general/start/nvim-spider
|
||||||
|
url = https://github.com/chrisgrieser/nvim-spider
|
||||||
|
branch = main
|
||||||
|
|
|
||||||
8
init.lua
8
init.lua
|
|
@ -612,3 +612,11 @@ vim.diagnostic.config({
|
||||||
|
|
||||||
---- nvim-surround
|
---- nvim-surround
|
||||||
require("nvim-surround").setup()
|
require("nvim-surround").setup()
|
||||||
|
|
||||||
|
--- nvim-spider
|
||||||
|
-- we need to use the ex-command version to cal the commands to allow dot repeatability
|
||||||
|
-- see: https://github.com/chrisgrieser/nvim-spider#installation
|
||||||
|
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" })
|
||||||
|
|
|
||||||
1
pack/general/start/nvim-spider
Submodule
1
pack/general/start/nvim-spider
Submodule
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit be7273858d75673a0ae594552742eb8769f35d6a
|
||||||
Loading…
Add table
Reference in a new issue