LazyVim Tips

1 [flash.nvim] do regular search using / or ? with jump lables

/lua/plugins/flash.lua
return {
    "folke/flash.nvim",

    event = "VeryLazy",

    ---@type Flash.Config
    opts = {
        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 = true, 
            },
        },
    },

    -- other settings...
}

Ref: flash.nvim usage

Back to top