diff --git a/private_dot_config/nvim/lazy-lock.json b/private_dot_config/nvim/lazy-lock.json index 30d5dea..fd5b141 100644 --- a/private_dot_config/nvim/lazy-lock.json +++ b/private_dot_config/nvim/lazy-lock.json @@ -11,7 +11,6 @@ "lazydev.nvim": { "branch": "main", "commit": "371cd7434cbf95606f1969c2c744da31b77fcfa6" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "d7b5feb6e769e995f7fcf44d92f49f811c51d10c" }, "mason.nvim": { "branch": "main", "commit": "ad7146aa61dcaeb54fa900144d768f040090bff0" }, - "mini.ai": { "branch": "main", "commit": "11c57180bc9084089206e211ac7aa598bedc9673" }, "mini.icons": { "branch": "main", "commit": "284798619aed9f4c1ac1b9417b9a5e3b4b85ef3a" }, "mini.pairs": { "branch": "main", "commit": "b9aada8c0e59f2b938e98fbf4eae0799eba96ad9" }, "mini.snippets": { "branch": "main", "commit": "7610dc3aaf7fb09b9cc428273a8ba15ef8aef495" }, @@ -21,6 +20,7 @@ "nvim-scissors": { "branch": "main", "commit": "9b4fc66427568b2139480fcc645dd7bb91884ade" }, "nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" }, "nvim-treesitter-context": { "branch": "master", "commit": "ec308c7827b5f8cb2dd0ad303a059c945dd21969" }, + "substitute.nvim": { "branch": "main", "commit": "9db749a880e3dd3b0eb57f698aa8f1e1630e1f25" }, "trouble.nvim": { "branch": "main", "commit": "bd67efe408d4816e25e8491cc5ad4088e708a69a" }, "vim-sleuth": { "branch": "master", "commit": "be69bff86754b1aa5adcbb527d7fcd1635a84080" }, "which-key.nvim": { "branch": "main", "commit": "3aab2147e74890957785941f0c1ad87d0a44c15a" }, diff --git a/private_dot_config/nvim/lua/plugin/10_hop.lua b/private_dot_config/nvim/lua/plugin/10_hop.lua index 43abece..0289340 100644 --- a/private_dot_config/nvim/lua/plugin/10_hop.lua +++ b/private_dot_config/nvim/lua/plugin/10_hop.lua @@ -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", "HopChar1MW", { desc = "hop to char" }) vim.keymap.set({ "n", "x", "o" }, "g:", "HopLineStartMW", { desc = "hop to line" }) - vim.keymap.set({ "n", "x", "o" }, "gn", "HopNodes", { desc = "hop nodes" }) + vim.keymap.set({ "n", "x", "o" }, "gt", "HopNodes", { desc = "hop to ts" }) vim.keymap.set({ "n", "x", "o" }, "gp", hop_pattern_smart, { desc = "hop to pattern" }) -- stylua: ignore end end, diff --git a/private_dot_config/nvim/lua/plugin/35_yanky.lua b/private_dot_config/nvim/lua/plugin/35_yanky.lua index 1e118c7..983c99b 100644 --- a/private_dot_config/nvim/lua/plugin/35_yanky.lua +++ b/private_dot_config/nvim/lua/plugin/35_yanky.lua @@ -5,14 +5,15 @@ return { { "y", "(YankyYank)" }, { "p", "(YankyPutAfter)", mode = { "n", "x" } }, { "P", "(YankyPutBefore)", mode = { "n", "x" } }, - { "[p", "(YankyPutIndentBeforeLinewise)", mode = "n" }, - { "]p", "(YankyPutIndentAfterLinewise)", mode = "n" }, - { ">p", "(YankyPutIndentAfterShiftRight)", mode = "n" }, - { ">P", "(YankyPutIndentBeforeShiftRight)", mode = "n" }, - { "(YankyPutIndentAfterShiftLeft)", mode = "n" }, - { "(YankyPutIndentBeforeShiftLeft)", mode = "n" }, + { "[p", "(YankyPutIndentBeforeLinewise)", mode = { "n", "x" } }, + { "]p", "(YankyPutIndentAfterLinewise)", mode = { "n", "x" } }, + { ">p", "(YankyPutIndentAfterShiftRight)", mode = { "n", "x" } }, + { ">P", "(YankyPutIndentBeforeShiftRight)", mode = { "n", "x" } }, + { "(YankyPutIndentAfterShiftLeft)", mode = { "n", "x" } }, + { "(YankyPutIndentBeforeShiftLeft)", mode = { "n", "x" } }, { "", "(YankyPreviousEntry)", mode = "n" }, { "", "(YankyNextEntry)", mode = "n" }, + { "fy", "YankyRingHistory", mode = { "n", "x" } }, }, opts = { preserve_cursor_position = { enabled = true },