fix(picker.config): use <c-w>HJKL to move float to far left/bottom/top/right. Only in normal mode.

This commit is contained in:
Folke Lemaitre 2025-02-10 22:34:53 +01:00
parent fcb2f508dd
commit 34dd83c257
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -225,14 +225,10 @@ local defaults = {
["<c-s>"] = { "edit_split", mode = { "i", "n" } },
["<c-u>"] = { "list_scroll_up", mode = { "i", "n" } },
["<c-v>"] = { "edit_vsplit", mode = { "i", "n" } },
["<c-z>h"] = { "layout_left", mode = { "i", "n" } },
["<c-z><c-h>"] = { "layout_left", mode = { "i", "n" } },
["<c-z>j"] = { "layout_bottom", mode = { "i", "n" } },
["<c-z><c-j>"] = { "layout_bottom", mode = { "i", "n" } },
["<c-z>k"] = { "layout_top", mode = { "i", "n" } },
["<c-z><c-k>"] = { "layout_top", mode = { "i", "n" } },
["<c-z>l"] = { "layout_right", mode = { "i", "n" } },
["<c-z><c-l>"] = { "layout_right", mode = { "i", "n" } },
["<c-w>H"] = "layout_left",
["<c-w>J"] = "layout_bottom",
["<c-w>K"] = "layout_top",
["<c-w>L"] = "layout_right",
["?"] = "toggle_help_input",
["G"] = "list_bottom",
["gg"] = "list_top",
@ -274,14 +270,10 @@ local defaults = {
["<c-s>"] = "edit_split",
["<c-u>"] = "list_scroll_up",
["<c-v>"] = "edit_vsplit",
["<c-z>h"] = { "layout_left", mode = { "i", "n" } },
["<c-z><c-h>"] = { "layout_left", mode = { "i", "n" } },
["<c-z>j"] = { "layout_bottom", mode = { "i", "n" } },
["<c-z><c-j>"] = { "layout_bottom", mode = { "i", "n" } },
["<c-z>k"] = { "layout_top", mode = { "i", "n" } },
["<c-z><c-k>"] = { "layout_top", mode = { "i", "n" } },
["<c-z>l"] = { "layout_right", mode = { "i", "n" } },
["<c-z><c-l>"] = { "layout_right", mode = { "i", "n" } },
["<c-w>H"] = "layout_left",
["<c-w>J"] = "layout_bottom",
["<c-w>K"] = "layout_top",
["<c-w>L"] = "layout_right",
["?"] = "toggle_help_list",
["G"] = "list_bottom",
["gg"] = "list_top",