Compare commits
3 Commits
e9ce630ca1
...
b4e439dc9c
Author | SHA1 | Date | |
---|---|---|---|
b4e439dc9c | |||
0987970579 | |||
2952598440 |
@ -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]",
|
||||
":- [-]",
|
||||
":-"
|
||||
}
|
||||
|
@ -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" })
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user