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 | b52729fab5a8b6ee6e9f04de9aaa3b82bdc03ece (patch) | |
| tree | b589f7fec2295f781b06d2fa0a30bc9067643e6e /.config/nvim | |
| parent | 7e620fd134399dcffe926e66c7e459e4b93d454d (diff) | |
| download | dotfiles-b52729fab5a8b6ee6e9f04de9aaa3b82bdc03ece.tar.gz dotfiles-b52729fab5a8b6ee6e9f04de9aaa3b82bdc03ece.zip | |
docs: comment
Diffstat (limited to '.config/nvim')
| -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 }, }, |
