cap153_nvim/lua/lazy/plugins/jump.lua
a770 38bedd3beb 适配neovim 0.11
1. 更改使用的主题
2. 更改底部状态栏样式
3. 更换彩虹括号插件适配neovim 0.11
4. 更换彩虹缩进样式
5. 添加lock文件
2025-05-10 20:43:44 +08:00

26 lines
797 B
Lua
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

return {
"folke/flash.nvim",
event = "VeryLazy",
config = function()
-- 下面映射可以通过<esc>取消f和t但是会覆盖原本的退出可视模式等功能
-- local map = vim.keymap.set
-- map({ "n", "x", "o" }, "<esc>", function()
-- local char = require("flash.plugins.char")
-- if char.state then
-- char.state:hide()
-- end
-- end, { desc = "Cancel Flash Char" })
require("flash").setup({
labels = "arstdhneioqwfpgjluyzxcvbkm",
modes = {
-- options used when flash is activated through
-- a regular search with `/` or `?`
search = {
-- when `true`, flash will be activated during regular search by default.
-- You can always toggle when searching with `require("flash").toggle()`
enabled = false,
},
},
})
end,
}