Merge branch 'dev' into gentoo

nvim: fix lsp maps
      fix tex snips
      add tex snippet for underline
mail: add centrale account config for mutt
David JULIEN 1 year ago
commit 42e7fb360e
Signed by: swytch
GPG Key ID: 498590A3AA82A06F

@ -0,0 +1,41 @@
# vim: filetype=neomuttrc
# muttrc file for account
set realname = "David JULIEN"
set from = ""
set sendmail = "msmtp -a"
alias me david.julien <>
set folder = "/home/swytch/.local/share/mail/"
set header_cache = /home/swytch/.cache/mutt/
set message_cachedir = /home/swytch/.cache/mutt/
set mbox_type = Maildir
set crypt_autosign = yes
set pgp_sign_as = "0x9F46CD164AE1E813"
bind index,pager gg noop
bind index,pager g noop
bind index,pager M noop
bind index,pager C noop
bind index gg first-entry
unmailboxes *
unalternates *
set signature="/home/swytch/.config/mutt/accounts/centrale.signature"
unmacro index o
macro index o "<shell-escape>mailsync<enter>" "run mbsync to sync"
mailboxes "=Sent" "=Drafts" "=Trash" "=Fanfare"
set record = "+Sent"
macro index,pager gs "<change-folder>=Sent<enter>" "go to sent"
macro index,pager Ms ";<save-message>=Sent<enter>" "move mail to sent"
macro index,pager Cs ";<copy-message>=Sent<enter>" "copy mail to sent"
set postponed = "+Drafts"
macro index,pager gd "<change-folder>=Drafts<enter>" "go to drafts"
macro index,pager Md ";<save-message>=Drafts<enter>" "move mail to drafts"
macro index,pager Cd ";<copy-message>=Drafts<enter>" "copy mail to drafts"
macro index,pager gt "<change-folder>=Trash<enter>" "go to trash"
macro index,pager Mt ";<save-message>=Trash<enter>" "move mail to trash"
macro index,pager Ct ";<copy-message>=Trash<enter>" "copy mail to trash"
set trash = "+Trash"
macro index,pager gf "<change-folder>=Fanfare<enter>" "go to fanfare"
macro index,pager Mf ";<save-message>=Fanfare<enter>" "move mail to fanfare"
macro index,pager Cf ";<copy-message>=Fanfare<enter>" "copy mail to fanfare"

@ -104,22 +104,27 @@ ls.snippets = {
s("bb", {
t({ "\\textbf{" }),
t({ "} "}),
t({ "}"}),
s("tt", {
t({ "\\texttt{" }),
t({ "} "}),
t({ "}"}),
s("ii", {
t({ "\\textit{" }),
t({ "} "}),
t({ "}"}),
s("uu", {
t({ "\\underline{" }),
t({ "}"}),
s("fsc", {
t({ "\\fsc{" }),
t({ "\\textsc{" }),
t({ "} "}),
t({ "}"}),