diff --git a/lua/fzf-lua/defaults.lua b/lua/fzf-lua/defaults.lua index 94ae846f..848b2441 100644 --- a/lua/fzf-lua/defaults.lua +++ b/lua/fzf-lua/defaults.lua @@ -68,30 +68,33 @@ M.defaults = { }, keymap = { builtin = { - [""] = "toggle-help", - [""] = "toggle-fullscreen", + [""] = "toggle-help", + [""] = "toggle-fullscreen", -- Only valid with the 'builtin' previewer - [""] = "toggle-preview-wrap", - [""] = "toggle-preview", - [""] = "toggle-preview-ccw", - [""] = "toggle-preview-cw", - [""] = "preview-page-down", - [""] = "preview-page-up", - [""] = "preview-page-reset", + [""] = "toggle-preview-wrap", + [""] = "toggle-preview", + [""] = "toggle-preview-ccw", + [""] = "toggle-preview-cw", + [""] = "preview-page-down", + [""] = "preview-page-up", + [""] = "preview-down", + [""] = "preview-up", }, fzf = { - ["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", + ["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", -- 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", + ["f3"] = "toggle-preview-wrap", + ["f4"] = "toggle-preview", + ["shift-down"] = "preview-page-down", + ["shift-up"] = "preview-page-up", + ["alt-shift-down"] = "preview-down", + ["alt-shift-up"] = "preview-up", }, }, actions = {