dotfiles/.config/nvim/lua/plugins/no-neck-pain.lua

32 lines
682 B
Lua

return {
"shortcuts/no-neck-pain.nvim",
version = "*",
opts = function()
require("which-key").add({
{ "<leader>n", group = "+NoNeckPain" },
})
return {
mappings = {
enabled = true,
},
autocmds = {
enableOnVimEnter = true,
skipEnteringNoNeckPainBuffer = false,
},
buffers = {
left = {
scratchPad = {
enabled = false,
pathToFile = "~/SyncDocuments/scratch-l.md",
},
},
right = {
scratchPad = {
enabled = false,
pathToFile = "~/SyncDocuments/scratch-r.md",
},
},
},
}
end,
}