Merge branch 'dev' into gentoo

nvim: fix lsp maps
      fix tex snips
      add tex snippet for underline
mail: add centrale account config for mutt
This commit is contained in:
David JULIEN 2022-01-14 11:25:13 +01:00
commit 42e7fb360e
Signed by: swytch
GPG Key ID: 498590A3AA82A06F
2 changed files with 51 additions and 5 deletions

View File

@ -0,0 +1,41 @@
# vim: filetype=neomuttrc
# muttrc file for account david.julien@centrale-marseille.fr
set realname = "David JULIEN"
set from = "david.julien@centrale-marseille.fr"
set sendmail = "msmtp -a david.julien@centrale-marseille.fr"
alias me david.julien <david.julien@centrale-marseille.fr>
set folder = "/home/swytch/.local/share/mail/david.julien@centrale-marseille.fr"
set header_cache = /home/swytch/.cache/mutt/david.julien@centrale-marseille.fr/headers
set message_cachedir = /home/swytch/.cache/mutt/david.julien@centrale-marseille.fr/bodies
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 david.julien@centrale-marseille.fr"
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"

View File

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