diff --git a/.config/lazygit/state.yml b/.config/lazygit/state.yml index 2654b7c..4c070fb 100644 --- a/.config/lazygit/state.yml +++ b/.config/lazygit/state.yml @@ -1,6 +1,7 @@ lastupdatecheck: 0 recentrepos: - /home/shubham/Documents/dotfiles + - /home/shubham/Documents/Programming/WebDev/invoice-genrator-nextjs - /home/shubham/Documents/Programming/WebDev/invoice-generator-sveltekit - /home/shubham/Documents/Programming/WebDev/vue3-chrome-ai - /home/shubham/Documents/Programming/WebDev/demo-shadcn diff --git a/.config/nvim-astro/lua/plugins/flash.lua b/.config/nvim-astro/lua/plugins/flash.lua index 0c56a24..5feb9fa 100644 --- a/.config/nvim-astro/lua/plugins/flash.lua +++ b/.config/nvim-astro/lua/plugins/flash.lua @@ -8,7 +8,7 @@ return { }, -- stylua: ignore keys = { - { "-", mode = { "n", "x", "o" }, function() require("flash").jump() end, desc = "Flash" }, + { "s", mode = { "n", "x", "o" }, function() require("flash").jump() end, desc = "Flash" }, { "S", mode = { "n", "o" }, function() require("flash").treesitter() end, desc = "Flash Treesitter" }, { "r", mode = "o", function() require("flash").remote() end, desc = "Remote Flash" }, { "R", mode = { "o", "x" }, function() require("flash").treesitter_search() end, desc = "Treesitter Search" }, diff --git a/.config/nvim-astro/lua/plugins/mini/surround.lua b/.config/nvim-astro/lua/plugins/mini/surround.lua index 0c0533c..2b40a63 100644 --- a/.config/nvim-astro/lua/plugins/mini/surround.lua +++ b/.config/nvim-astro/lua/plugins/mini/surround.lua @@ -3,24 +3,24 @@ return { "echasnovski/mini.surround", enabled = true, keys = { - { "s", "", desc = "+surround" }, - { "sa", mode = { "n", "v" }, desc = "Surround add" }, - { "sd", mode = { "n" }, desc = "Surround delete" }, - { "sr", mode = { "n" }, desc = "Surround replace" }, - { "sf", mode = { "n" }, desc = "Surround find" }, - { "sh", mode = { "n" }, desc = "Surround highlight" }, + { "gz", "", desc = "+surround" }, + { "ys", mode = { "n", "v" }, desc = "Surround add" }, + { "ds", mode = { "n" }, desc = "Surround delete" }, + { "cs", mode = { "n" }, desc = "Surround replace" }, + { "gzf", mode = { "n" }, desc = "Surround find" }, + { "gzh", mode = { "n" }, desc = "Surround highlight" }, }, opts = { search_method = "cover_or_prev", n_lines = 500, mappings = { - add = "sa", -- Add surrounding in Normal and Visual modes - delete = "sd", -- Delete surrounding - replace = "sr", -- Replace surrounding - find = "sf", -- Find surrounding (to the right) - find_left = "sF", -- Find surrounding (to the left) - highlight = "sh", -- Highlight surrounding - update_n_lines = "sn", -- Update `n_lines` + add = "ys", -- Add surrounding in Normal and Visual modes + delete = "ds", -- Delete surrounding + replace = "cs", -- Replace surrounding + find = "gzf", -- Find surrounding (to the right) + find_left = "gzF", -- Find surrounding (to the left) + highlight = "gzh", -- Highlight surrounding + update_n_lines = "gzn", -- Update `n_lines` }, }, }