Update .config/nvim/lazy-lock.json

Update .config/nvim/lua/config/20_keymaps.lua
Update .config/nvim/lua/plugin/03_treesitter.lua
Update .config/nvim/lua/plugin/05_fzf.lua
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-12 19:58:07 +00:00
parent 4d2c3675d9
commit 98f4fd1cbc
6 changed files with 50 additions and 44 deletions

View file

@ -1,19 +1,16 @@
return {
{
"gbprod/yanky.nvim",
-- stylua: ignore
keys = {
{ "y", "<Plug>(YankyYank)" },
{ "p", "<Plug>(YankyPutAfter)", mode = { "n", "x" } },
{ "P", "<Plug>(YankyPutBefore)", mode = { "n", "x" } },
{ "[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" } },
{ "y", "<Plug>(YankyYank)", desc = "yank" },
{ "p", "<Plug>(YankyPutAfter)", mode = { "n", "x" }, desc = "put after" },
{ "P", "<Plug>(YankyPutBefore)", mode = { "n", "x" }, desc = "put before" },
{ "[p", "<Plug>(YankyPutIndentBeforeLinewise)", mode = { "n", "x" }, desc = "put after line" },
{ "]p", "<Plug>(YankyPutIndentAfterLinewise)", mode = { "n", "x" }, desc = "put before line" },
{ "<c-p>", "<Plug>(YankyPreviousEntry)", mode = "n", desc = "previous yank" },
{ "<c-n>", "<Plug>(YankyNextEntry)", mode = "n", desc = "next yank" },
{ "<leader>fy", "<Cmd>YankyRingHistory<CR>", mode = { "n", "x" }, desc = "yank history" },
},
opts = {
preserve_cursor_position = { enabled = true },