neovim-dotfiles/lua/plugins/venn.lua
2025-10-08 21:24:37 +02:00

18 lines
448 B
Lua

return {
"jbyuki/venn.nvim",
config = function()
vim.b.ve = "all"
end,
keys = {
{ "J", "<C-v>j:VBox<CR>", mode = "n", noremap = true },
{ "K", "<C-v>k:VBox<CR>", mode = "n", noremap = true },
{ "L", "<C-v>l:VBox<CR>", mode = "n", noremap = true },
{ "H", "<C-v>h:VBox<CR>", mode = "n", noremap = true },
-- draw a box by pressing "f" with visual selection,
{ "f", ":VBox<CR>", mode = "v", noremap = true },
},
lazy = true,
}