Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/stephansama/nvim. neovim configuration for @stephansama
Something went wrong. Try again.
Lua
123456789101112131415161718192021222324252627282930313233343536373839404142local opts = function() local fzf = require("fzf-lua") local actions = fzf.actions return { "default-title", winopts = { preview = { layout = "flex", flip_columns = 600, }, }, keymap = { fzf = { ["alt-s"] = "select-all+accept", ["alt-q"] = "select+accept", }, }, files = { cwd_prompt = false, actions = { ["alt-i"] = { actions.toggle_ignore }, ["alt-h"] = { actions.toggle_hidden }, }, }, grep = { actions = { ["alt-i"] = { actions.toggle_ignore }, ["alt-h"] = { actions.toggle_hidden }, }, }, }end
return { "ibhagwan/fzf-lua", dependencies = { "nvim-tree/nvim-web-devicons" }, cmd = { "FzfLua" }, config = true, opts = opts, keys = require("keys.plugin").fzf_lua,}