43 lines
1.2 KiB
Lua
43 lines
1.2 KiB
Lua
local actions = require("vern-nvim.actions")
|
|
|
|
---@type VernCoreConfig
|
|
return {
|
|
workspace_root = "~/personal/Projects",
|
|
keybinds = {
|
|
["<leader>pc"] = {
|
|
user_command = "VernCreateProject",
|
|
desc = "Creates a new project",
|
|
action = actions.create_project,
|
|
},
|
|
["<leader>pf"] = {
|
|
user_command = "VernCreateFile",
|
|
desc = "Creates a new project file",
|
|
action = actions.create_file,
|
|
},
|
|
},
|
|
terminal = {
|
|
mode = {
|
|
type = "split",
|
|
win = {
|
|
float = {
|
|
padding = {
|
|
left = 0,
|
|
right = 0,
|
|
top = 0,
|
|
bottom = 0,
|
|
},
|
|
border = {
|
|
enabled = true,
|
|
type = vim.o.winborder, -- defaults to neovim winborder
|
|
},
|
|
},
|
|
split = {
|
|
direction = "horizontal",
|
|
anchor = "bottom",
|
|
size = "20",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|