feat(snipe): add keyboard shortcuts for h/v splits
This commit is contained in:
parent
1a5d5bc4a0
commit
267bc441ee
1 changed files with 8 additions and 3 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue