summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/fzf/fzf.bash1
-rw-r--r--.config/nvim/plugin/50-fzf-lua.lua2
2 files changed, 3 insertions, 0 deletions
diff --git a/.config/fzf/fzf.bash b/.config/fzf/fzf.bash
index 5ceed69..97a1fba 100644
--- a/.config/fzf/fzf.bash
+++ b/.config/fzf/fzf.bash
@@ -23,6 +23,7 @@ export FZF_DEFAULT_OPTS="
--bind tab:down,btab:up
--bind 'alt-y:execute-silent(wl-copy {..})+abort'
--bind 'alt-/:change-preview-window(down|hidden|)'
+--bind 'ctrl-n:preview-half-page-down,ctrl-p:preview-half-page-up'
--layout reverse --height 50%
--color header:italic
diff --git a/.config/nvim/plugin/50-fzf-lua.lua b/.config/nvim/plugin/50-fzf-lua.lua
index cc4f440..e0c4ce3 100644
--- a/.config/nvim/plugin/50-fzf-lua.lua
+++ b/.config/nvim/plugin/50-fzf-lua.lua
@@ -39,6 +39,8 @@ fzf.setup({
builtin = {
true, -- inherit defaults
["<M-/>"] = "toggle-preview", -- show/hide preview
+ ["<C-n>"] = "preview-half-page-down", -- scroll preview (Ctrl-j/k navigate)
+ ["<C-p>"] = "preview-half-page-up",
},
},
actions = {