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
+1
View File
@@ -26,6 +26,7 @@ vim.pack.add({
})
pcall(vim.cmd.colorscheme, "gruvbox")
vim.api.nvim_set_hl(0, "FlashLabel", { fg = "#1d2021", bg = "#fe8019", bold = true })
-- Simple setup({}) plugins
for _, name in ipairs({