52 lines
1.6 KiB
Lua
52 lines
1.6 KiB
Lua
local actions = require("vern-nvim.actions")
|
|
|
|
---@type VernCoreConfig
|
|
return {
|
|
workspace_root = "~/personal/Projects",
|
|
env = {
|
|
--- In documentation, make recommendation to change to username or name instead of company
|
|
author = "company",
|
|
},
|
|
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 based on current buffer filetype",
|
|
action = actions.create_file,
|
|
},
|
|
["<leader>pr"] = {
|
|
user_command = "VernRunProject",
|
|
desc = "Builds and runs project based on current buffer filetype",
|
|
action = actions.run,
|
|
},
|
|
},
|
|
terminal = {
|
|
mode = {
|
|
type = "split", --- (float)|(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", --- (vertical)|(horizontal)
|
|
anchor = "bottom", --- (right)|(bottom)
|
|
size = "20",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|