Compare commits

...

3 Commits

3 changed files with 12 additions and 0 deletions

View File

@ -2,3 +2,10 @@ vim.opt_local.shiftwidth = 2
vim.opt_local.modeline = true
vim.opt_local.wrap = false
vim.opt_local.conceallevel = 1
vim.opt_local.comments = {
":- [ ]",
":- [x]",
":- [X]",
":- [-]",
":-"
}

View File

@ -105,6 +105,8 @@ M.setup = function()
-- Binding to allow shift tab dedent
vim.keymap.set("i", "<S-Tab>", "<C-d>", { silent = true, desc = "Insert: Dedent" })
-- Binding to allow shift space indent
vim.keymap.set("i", "<S-Space>", "<C-t>", { silent = true, desc = "Insert: Indent" })
-- Insert an Em Dash in insert mode
vim.keymap.set("i", "<A-->", "", { silent = true, desc = "Insert: Em Dash" })

View File

@ -139,6 +139,9 @@ M.setup = function()
-- Allow per project configuration via exrc
opt.exrc = true
-- Add `r` & `o` beyond the defaults provided, supports comment leaders
opt.formatoptions = "tcqjro"
end
return M