Update .config/nvim/lazy-lock.json

Update .config/nvim/lua/plugin/10_hop.lua
Update .config/nvim/lua/plugin/35_yanky.lua
This commit is contained in:
Lewis Wynne 2025-11-03 15:12:23 +00:00
parent b0e03a69ed
commit 0139ededce
3 changed files with 9 additions and 8 deletions

View file

@ -37,7 +37,7 @@ return {
vim.keymap.set({ "n", "x", "o" }, "gw", hop_word_smart, { desc = "hop to word" })
vim.keymap.set({ "n", "x", "o" }, "gl", "<cmd>HopChar1MW<CR>", { desc = "hop to char" })
vim.keymap.set({ "n", "x", "o" }, "g:", "<cmd>HopLineStartMW<CR>", { desc = "hop to line" })
vim.keymap.set({ "n", "x", "o" }, "gn", "<cmd>HopNodes<CR>", { desc = "hop nodes" })
vim.keymap.set({ "n", "x", "o" }, "gt", "<cmd>HopNodes<CR>", { desc = "hop to ts" })
vim.keymap.set({ "n", "x", "o" }, "gp", hop_pattern_smart, { desc = "hop to pattern" })
-- stylua: ignore end
end,

View file

@ -5,14 +5,15 @@ return {
{ "y", "<Plug>(YankyYank)" },
{ "p", "<Plug>(YankyPutAfter)", mode = { "n", "x" } },
{ "P", "<Plug>(YankyPutBefore)", mode = { "n", "x" } },
{ "[p", "<Plug>(YankyPutIndentBeforeLinewise)", mode = "n" },
{ "]p", "<Plug>(YankyPutIndentAfterLinewise)", mode = "n" },
{ ">p", "<Plug>(YankyPutIndentAfterShiftRight)", mode = "n" },
{ ">P", "<Plug>(YankyPutIndentBeforeShiftRight)", mode = "n" },
{ "<p", "<Plug>(YankyPutIndentAfterShiftLeft)", mode = "n" },
{ "<P", "<Plug>(YankyPutIndentBeforeShiftLeft)", mode = "n" },
{ "[p", "<Plug>(YankyPutIndentBeforeLinewise)", mode = { "n", "x" } },
{ "]p", "<Plug>(YankyPutIndentAfterLinewise)", mode = { "n", "x" } },
{ ">p", "<Plug>(YankyPutIndentAfterShiftRight)", mode = { "n", "x" } },
{ ">P", "<Plug>(YankyPutIndentBeforeShiftRight)", mode = { "n", "x" } },
{ "<p", "<Plug>(YankyPutIndentAfterShiftLeft)", mode = { "n", "x" } },
{ "<P", "<Plug>(YankyPutIndentBeforeShiftLeft)", mode = { "n", "x" } },
{ "<c-p>", "<Plug>(YankyPreviousEntry)", mode = "n" },
{ "<c-n>", "<Plug>(YankyNextEntry)", mode = "n" },
{ "<leader>fy", "<Cmd>YankyRingHistory<CR>", mode = { "n", "x" } },
},
opts = {
preserve_cursor_position = { enabled = true },