From b8de20eb7a176ebccc7f09d9fd92c721a150a8db Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 15 Sep 2023 08:21:29 -0500 Subject: [PATCH] feat(nvim): add flash.nvim --- .../nvim/lua/plugins/configs/flash.lua | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 dots/.config/nvim/lua/plugins/configs/flash.lua 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" + }, + }, + }, +}