diff options
Diffstat (limited to '.config')
| -rw-r--r-- | .config/nvim/plugin/50-fzf-lua.lua | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/.config/nvim/plugin/50-fzf-lua.lua b/.config/nvim/plugin/50-fzf-lua.lua index e6d0402..750341e 100644 --- a/.config/nvim/plugin/50-fzf-lua.lua +++ b/.config/nvim/plugin/50-fzf-lua.lua @@ -29,20 +29,15 @@ fzf.setup({ flip_columns = 120, }, }, - -- Mirror the shell fzf bindings from ~/.config/fzf/fzf.bash. Note: fzf-lua - -- uses a Neovim-rendered previewer, so preview moving/hiding lives in - -- `keymap.builtin`, not fzf's native `change-preview-window`. - -- The leading `true` inherits fzf-lua's defaults; without it these tables - -- replace the defaults outright (losing enter, ctrl-z, <F4>, etc.). keymap = { fzf = { - true, + true, -- inherit defaults ["tab"] = "down", -- navigate instead of fzf's default toggle ["btab"] = "up", ["ctrl-y"] = "toggle", -- multi-select toggle (tab no longer does it) }, builtin = { - true, + true, -- inherit defaults ["<M-/>"] = "toggle-preview", -- show/hide preview }, }, |
