diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-06-08 16:24:56 +0200 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-06-08 16:24:56 +0200 |
| commit | 20510e09c2b776573d22fa6906aa3ee2f07ca872 (patch) | |
| tree | 84daf8fb320aa727b74d0743ecdc0e30cc2dd560 /plugin | |
| parent | 2cf064f820c9cea397624a4571b45f6e77071327 (diff) | |
| download | nvim-config-20510e09c2b776573d22fa6906aa3ee2f07ca872.tar.gz nvim-config-20510e09c2b776573d22fa6906aa3ee2f07ca872.zip | |
docs: comment
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/50-fzf-lua.lua | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/plugin/50-fzf-lua.lua b/plugin/50-fzf-lua.lua index e6d0402..750341e 100644 --- a/plugin/50-fzf-lua.lua +++ b/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 }, }, |
