X-Git-Url: https://git.madduck.net/etc/lazyvim.git/blobdiff_plain/1a417133323246b65fb5421bd150135811364fce..9badb935b11df61bbddb3fef8f989011bd5675d0:/.config/lazyvim/after/ftplugin/mail.lua diff --git a/.config/lazyvim/after/ftplugin/mail.lua b/.config/lazyvim/after/ftplugin/mail.lua index 8513a6d..8118cef 100644 --- a/.config/lazyvim/after/ftplugin/mail.lua +++ b/.config/lazyvim/after/ftplugin/mail.lua @@ -13,6 +13,9 @@ vim.b.autoformat = false -- disable Treesitter format expression for Mail vim.opt_local.formatexpr = "" + +-- Do not conceal anything (Markdown) in emails going out +vim.opt_local.conceallevel = 0 -- }}} -- {{{ formatting @@ -23,6 +26,12 @@ vim.opt_local.formatoptions:remove("l") -- would not break lines that were long vim.opt_local.commentstring = "> %s" -- commenting means quoting in mails -- }}} +-- {{{ options +vim.opt.number = false +vim.opt.relativenumber = false +vim.opt.signcolumn = "no" +-- }}} + -- {{{ autocmds vim.api.nvim_create_autocmd({ "BufWrite" }, { buffer = 0, @@ -91,7 +100,7 @@ local function profile_keymap(key, profile) ) end -profile_keymap("F1", "official") +profile_keymap("F1", "main") profile_keymap("F2", "pobox") profile_keymap("F3", "tahi") profile_keymap("F4", "toni") @@ -101,7 +110,6 @@ profile_keymap("F7", "siby") profile_keymap("F8", "debian") profile_keymap("F9", "uniwh") profile_keymap("F10", "mtfk") -profile_keymap("F11", "sudetia") profile_keymap("F12", "default") -- }}} profiles