diff --git a/dots/.config/nvim/lua/plugins/configs/flash.lua b/dots/.config/nvim/lua/plugins/configs/flash.lua new file mode 100644 index 00000000..1d44aaa3 --- /dev/null +++ b/dots/.config/nvim/lua/plugins/configs/flash.lua @@ -0,0 +1,31 @@ +return { + { + "folke/flash.nvim", + opts = { + jump = { + autojump = true, + nohlsearch = true + }, + label = { + uppercase = false, + style = "overlay", + }, + search = { + char = { + enabled = false + } + } + }, + keys = { + { "/" }, + { "?" }, + { + "", + mode = { "c" }, + function() require("flash").toggle() end, + desc = + "Toggle Flash Search" + }, + }, + }, +}