require("fzf-lua").setup{ file_icon_padding = ' ', -- -- MISC GLOBAL SETUP OPTIONS, SEE BELOW -- -- fzf_bin = ..., -- winopts = { ... }, -- UI Options -- keymap = { ... }, -- Neovim keymaps / fzf binds -- actions = { ... }, -- Fzf "accept" binds -- fzf_opts = { ... }, -- Fzf CLI flags -- fzf_colors = { ... }, -- Fzf `--color` specification -- hls = { ... }, -- Highlights -- previewers = { ... }, -- Previewers options -- -- SPECIFIC COMMAND/PICKER OPTIONS, SEE BELOW -- -- files = { ... }, keymap = { -- Below are the default binds, setting any value in these tables will override -- the defaults, to inherit from the defaults change [1] from `false` to `true` builtin = { -- neovim `:tmap` mappings for the fzf win -- true, -- uncomment to inherit all the below in your custom config [""] = "hide", -- hide fzf-lua, `:FzfLua resume` to continue [""] = "toggle-help", [""] = "toggle-fullscreen", -- Only valid with the 'builtin' previewer [""] = "toggle-preview-wrap", [""] = "toggle-preview", -- Rotate preview clockwise/counter-clockwise [""] = "toggle-preview-ccw", [""] = "toggle-preview-cw", -- `ts-ctx` binds require `nvim-treesitter-context` [""] = "toggle-preview-ts-ctx", [""] = "preview-ts-ctx-dec", [""] = "preview-ts-ctx-inc", [""] = "preview-reset", [""] = "preview-page-down", [""] = "preview-page-up", [""] = "preview-down", [""] = "preview-up", }, fzf = { -- fzf '--bind=' options -- true, -- uncomment to inherit all the below in your custom config ["ctrl-z"] = "abort", ["ctrl-u"] = "unix-line-discard", ["ctrl-f"] = "half-page-down", ["ctrl-b"] = "half-page-up", ["ctrl-a"] = "beginning-of-line", ["ctrl-e"] = "end-of-line", ["alt-a"] = "toggle-all", ["alt-g"] = "first", ["alt-G"] = "last", -- Only valid with fzf previewers (bat/cat/git/etc) ["f3"] = "toggle-preview-wrap", ["f4"] = "toggle-preview", ["shift-down"] = "preview-page-down", ["shift-up"] = "preview-page-up", }, }, }