AutoYADM commit: 2025-01-23 19:35:06
This commit is contained in:
parent
27d1d1458d
commit
0d4e65f961
2 changed files with 19 additions and 5 deletions
|
@ -38,16 +38,28 @@ local override = true
|
|||
if override then
|
||||
vim.keymap.set("n", "}", function()
|
||||
modmap("notsame", "next")
|
||||
end)
|
||||
end, {
|
||||
silent = true,
|
||||
buffer = true,
|
||||
})
|
||||
vim.keymap.set({ "n", "x" }, "{", function()
|
||||
modmap("notsame", "previous")
|
||||
end)
|
||||
end, {
|
||||
silent = true,
|
||||
buffer = true,
|
||||
})
|
||||
vim.keymap.set({ "n", "x" }, "[[", function()
|
||||
modmap("same", "previous")
|
||||
end)
|
||||
end, {
|
||||
silent = true,
|
||||
buffer = true,
|
||||
})
|
||||
vim.keymap.set({ "n", "x" }, "]]", function()
|
||||
modmap("same", "next")
|
||||
end)
|
||||
end, {
|
||||
silent = true,
|
||||
buffer = true,
|
||||
})
|
||||
end
|
||||
-- vim.api.nvim_create_autocmd({ "CursorMoved" }, {
|
||||
-- buffer = 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue