added flash back

This commit is contained in:
2026-04-24 08:34:29 +02:00
parent 282ab49097
commit be4fd8426c
2 changed files with 8 additions and 0 deletions
+7
View File
@@ -65,6 +65,13 @@ end
map("n", "<C-p>", "<cmd>BufferPick<cr>", silent)
map("n", "<C-s-p>", "<cmd>BufferPickDelete<cr>", silent)
-- Flash
map({ "n", "x", "o" }, "s", function() require("flash").jump() end, { desc = "Flash" })
map({ "n", "x", "o" }, "S", function() require("flash").treesitter() end, { desc = "Flash Treesitter" })
map("o", "r", function() require("flash").remote() end, { desc = "Remote Flash" })
map({ "o", "x" }, "R", function() require("flash").treesitter_search() end, { desc = "Treesitter Search" })
map("c", "<c-s>", function() require("flash").toggle() end, { desc = "Toggle Flash Search" })
-- Spell
map("n", "<leader>sc", function()
vim.wo.spell = not vim.wo.spell