feat(snipe): add keyboard shortcuts for h/v splits

This commit is contained in:
Oliver Ladner 2025-03-17 09:45:13 +01:00
commit 267bc441ee

View file

@ -22,13 +22,18 @@ return {
}, },
ui = { ui = {
position = "topright", position = "topright",
-- position = "cursor",
open_win_override = {
-- title = "i can haz file?",
border = "rounded",
},
preselect_current = true,
}, },
navigate = { navigate = {
cancel_snipe = "q", cancel_snipe = "q",
-- Close the buffer under the cursor
-- PR not merged yet: https://github.com/leath-dub/snipe.nvim/pull/13
-- NOTE: Make sure you don't use the character below on your dictionary
close_buffer = "d", close_buffer = "d",
open_vsplit = "V",
open_split = "X",
}, },
}) })
end, end,