From 61a85608e9236837a183715b9f973e471fe985d9 Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Fri, 17 Dec 2021 23:53:14 +0100 Subject: [PATCH 1/4] [nvim] fix: fsc snippet for tex --- .config/nvim/after/ftplugin/tex.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nvim/after/ftplugin/tex.lua b/.config/nvim/after/ftplugin/tex.lua index 16d2f4d..c1ee534 100644 --- a/.config/nvim/after/ftplugin/tex.lua +++ b/.config/nvim/after/ftplugin/tex.lua @@ -117,7 +117,7 @@ ls.snippets = { t({ "} "}), }), s("fsc", { - t({ "\\fsc{" }), + t({ "\\textsc{" }), i(1), t({ "} "}), }), From dd2910a27e240370d76a326b3ae29a3f5b87b48b Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Fri, 14 Jan 2022 11:01:30 +0100 Subject: [PATCH 2/4] [nvim] fix: no trailing whitespace after tex snips --- .config/nvim/after/ftplugin/tex.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/nvim/after/ftplugin/tex.lua b/.config/nvim/after/ftplugin/tex.lua index c1ee534..ee59517 100644 --- a/.config/nvim/after/ftplugin/tex.lua +++ b/.config/nvim/after/ftplugin/tex.lua @@ -104,22 +104,22 @@ 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("fsc", { t({ "\\textsc{" }), i(1), - t({ "} "}), + t({ "}"}), }), }, } From 00c8e4e8c861aa8a90c546b3c6149e8c6fe801b5 Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Fri, 14 Jan 2022 11:01:51 +0100 Subject: [PATCH 3/4] [nvim] feat: add underline tex snippet --- .config/nvim/after/ftplugin/tex.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/nvim/after/ftplugin/tex.lua b/.config/nvim/after/ftplugin/tex.lua index ee59517..17a28a7 100644 --- a/.config/nvim/after/ftplugin/tex.lua +++ b/.config/nvim/after/ftplugin/tex.lua @@ -116,6 +116,11 @@ ls.snippets = { i(1), t({ "}"}), }), + s("uu", { + t({ "\\underline{" }), + i(1), + t({ "}"}), + }), s("fsc", { t({ "\\textsc{" }), i(1), From 5e773fa506ef6ed3be09e0114e0ece2983214f3d Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Fri, 14 Jan 2022 11:24:37 +0100 Subject: [PATCH 4/4] [mail] feat: add mutt config for centrale account --- ...-david.julien@centrale-marseille.fr.muttrc | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .config/mutt/accounts/4-david.julien@centrale-marseille.fr.muttrc diff --git a/.config/mutt/accounts/4-david.julien@centrale-marseille.fr.muttrc b/.config/mutt/accounts/4-david.julien@centrale-marseille.fr.muttrc new file mode 100644 index 0000000..6529ec5 --- /dev/null +++ b/.config/mutt/accounts/4-david.julien@centrale-marseille.fr.muttrc @@ -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 +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 "mailsync" "run mbsync to sync david.julien@centrale-marseille.fr" + +mailboxes "=Sent" "=Drafts" "=Trash" "=Fanfare" +set record = "+Sent" +macro index,pager gs "=Sent" "go to sent" +macro index,pager Ms ";=Sent" "move mail to sent" +macro index,pager Cs ";=Sent" "copy mail to sent" +set postponed = "+Drafts" +macro index,pager gd "=Drafts" "go to drafts" +macro index,pager Md ";=Drafts" "move mail to drafts" +macro index,pager Cd ";=Drafts" "copy mail to drafts" +macro index,pager gt "=Trash" "go to trash" +macro index,pager Mt ";=Trash" "move mail to trash" +macro index,pager Ct ";=Trash" "copy mail to trash" +set trash = "+Trash" +macro index,pager gf "=Fanfare" "go to fanfare" +macro index,pager Mf ";=Fanfare" "move mail to fanfare" +macro index,pager Cf ";=Fanfare" "copy mail to fanfare"