mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 10:49:08 +00:00
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:
parent
fcb2f508dd
commit
34dd83c257
1 changed files with 8 additions and 16 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue