nvim/telescope: remap hsplit binding

<C-s> is more coherent with the <C-w>s binding
This commit is contained in:
Primrose 2025-09-16 16:19:08 +08:00
parent b5d5ac4302
commit c002ef8cdd
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -26,10 +26,16 @@ telescope.setup {
["<C-r>"] = actions.to_fuzzy_refine,
["<C-Up>"] = actions.cycle_history_prev,
["<C-Down>"] = actions.cycle_history_next,
["<C-x>"] = actions.nop,
["<C-s>"] = actions.select_horizontal,
},
i = {
["<C-Up>"] = actions.cycle_history_prev,
["<C-Down>"] = actions.cycle_history_next,
["<C-x>"] = actions.nop,
["<C-s>"] = actions.select_horizontal,
},
},
layout_config = { height = 0.5 },