From 267bc441eefd0cb1c979d876013e2a2c56c67b2f Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Mon, 17 Mar 2025 09:45:13 +0100 Subject: [PATCH] feat(snipe): add keyboard shortcuts for h/v splits --- lua/weeheavy/plugins/snipe.lua | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lua/weeheavy/plugins/snipe.lua b/lua/weeheavy/plugins/snipe.lua index bb83c61..f1a7515 100644 --- a/lua/weeheavy/plugins/snipe.lua +++ b/lua/weeheavy/plugins/snipe.lua @@ -22,13 +22,18 @@ return { }, ui = { position = "topright", + -- position = "cursor", + open_win_override = { + -- title = "i can haz file?", + border = "rounded", + }, + preselect_current = true, }, navigate = { 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", + open_vsplit = "V", + open_split = "X", }, }) end,