Compare commits
8 Commits
2cafd49a44
...
1884d4d66c
Author | SHA1 | Date |
---|---|---|
David JULIEN | 1884d4d66c | |
David JULIEN | 00c8e4e8c8 | |
David JULIEN | dd2910a27e | |
David JULIEN | 61a85608e9 | |
David JULIEN | 15f78fdab0 | |
David JULIEN | d4050ad3bf | |
David JULIEN | 6fcc12da1c | |
David JULIEN | e949adecdb |
|
@ -76,3 +76,28 @@ SyncState *
|
||||||
MaxMessages 0
|
MaxMessages 0
|
||||||
ExpireUnread no
|
ExpireUnread no
|
||||||
# End Profile
|
# End Profile
|
||||||
|
|
||||||
|
# Centrale
|
||||||
|
IMAPStore david.julien@centrale-marseille.fr-remote
|
||||||
|
Host imaps.centrale-marseille.fr
|
||||||
|
Port 993
|
||||||
|
User djulien
|
||||||
|
PassCmd "pass centrale-marseille.fr/djulien"
|
||||||
|
AuthMechs LOGIN
|
||||||
|
SSLType IMAPS
|
||||||
|
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
||||||
|
|
||||||
|
MaildirStore david.julien@centrale-marseille.fr-local
|
||||||
|
Subfolders Verbatim
|
||||||
|
Path /home/swytch/.local/share/mail/david.julien@centrale-marseille.fr/
|
||||||
|
|
||||||
|
Channel david.julien@centrale-marseille.fr
|
||||||
|
Expunge Both
|
||||||
|
Far :david.julien@centrale-marseille.fr-remote:
|
||||||
|
Near :david.julien@centrale-marseille.fr-local:
|
||||||
|
Patterns * !"[Gmail]/All Mail"
|
||||||
|
Create Both
|
||||||
|
SyncState *
|
||||||
|
MaxMessages 0
|
||||||
|
ExpireUnread no
|
||||||
|
# End Profile
|
||||||
|
|
|
@ -30,3 +30,15 @@ auth on
|
||||||
tls on
|
tls on
|
||||||
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
||||||
logfile /home/swytch/.config/msmtp/msmtp.log
|
logfile /home/swytch/.config/msmtp/msmtp.log
|
||||||
|
|
||||||
|
account david.julien@centrale-marseille.fr
|
||||||
|
host smtp.centrale-marseille.fr
|
||||||
|
port 587
|
||||||
|
from david.julien@centrale-marseille.fr
|
||||||
|
user djulien
|
||||||
|
passwordeval "pass centrale-marseille.fr/djulien"
|
||||||
|
auth on
|
||||||
|
tls on
|
||||||
|
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
||||||
|
logfile /home/swytch/.config/msmtp/msmtp.log
|
||||||
|
|
||||||
|
|
|
@ -3,4 +3,5 @@ source /home/swytch/.config/mutt/neomutt.muttrc
|
||||||
macro index,pager ip '<sync-mailbox><enter-command>source /home/swytch/.config/mutt/accounts/1-david.julien@posteo.net.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to david.julien@posteo.net"
|
macro index,pager ip '<sync-mailbox><enter-command>source /home/swytch/.config/mutt/accounts/1-david.julien@posteo.net.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to david.julien@posteo.net"
|
||||||
macro index,pager is '<sync-mailbox><enter-command>source /home/swytch/.config/mutt/accounts/2-david.julien@ens-lyon.fr.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to david.julien@ens-lyon.fr"
|
macro index,pager is '<sync-mailbox><enter-command>source /home/swytch/.config/mutt/accounts/2-david.julien@ens-lyon.fr.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to david.julien@ens-lyon.fr"
|
||||||
macro index,pager im '<sync-mailbox><enter-command>source /home/swytch/.config/mutt/accounts/3-david.julien@mailo.com.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to david.julien@mailto.com"
|
macro index,pager im '<sync-mailbox><enter-command>source /home/swytch/.config/mutt/accounts/3-david.julien@mailo.com.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to david.julien@mailto.com"
|
||||||
|
macro index,pager ic '<sync-mailbox><enter-command>source /home/swytch/.config/mutt/accounts/4-david.julien@centrale-marseille.fr.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to david.julien@centrale-marseille.fr"
|
||||||
source /home/swytch/.config/mutt/accounts/2-david.julien@ens-lyon.fr.muttrc
|
source /home/swytch/.config/mutt/accounts/2-david.julien@ens-lyon.fr.muttrc
|
||||||
|
|
|
@ -116,8 +116,13 @@ ls.snippets = {
|
||||||
i(1),
|
i(1),
|
||||||
t({ "}"}),
|
t({ "}"}),
|
||||||
}),
|
}),
|
||||||
|
s("uu", {
|
||||||
|
t({ "\\underline{" }),
|
||||||
|
i(1),
|
||||||
|
t({ "}"}),
|
||||||
|
}),
|
||||||
s("fsc", {
|
s("fsc", {
|
||||||
t({ "\\fsc{" }),
|
t({ "\\textsc{" }),
|
||||||
i(1),
|
i(1),
|
||||||
t({ "}"}),
|
t({ "}"}),
|
||||||
}),
|
}),
|
||||||
|
|
|
@ -15,8 +15,8 @@ utils.map("n", "gd", "<cmd>lua vim.lsp.buf.definition()<CR>")
|
||||||
utils.map("n", "gD", "<cmd>lua vim.lsp.buf.declaration()<CR>")
|
utils.map("n", "gD", "<cmd>lua vim.lsp.buf.declaration()<CR>")
|
||||||
utils.map("n", "gr", "<cmd>lua vim.lsp.buf.references()<CR>")
|
utils.map("n", "gr", "<cmd>lua vim.lsp.buf.references()<CR>")
|
||||||
utils.map("n", "gi", "<cmd>lua vim.lsp.buf.implementation()<CR>")
|
utils.map("n", "gi", "<cmd>lua vim.lsp.buf.implementation()<CR>")
|
||||||
utils.map("n", "<leader>ln", "<cmd>lua vim.lsp.diagnostic.goto_next()<CR>")
|
utils.map("n", "<leader>ln", "<cmd>lua vim.diagnostic.goto_next()<CR>")
|
||||||
utils.map("n", "<leader>lp", "<cmd>lua vim.lsp.diagnostic.goto_prev()<CR>")
|
utils.map("n", "<leader>lp", "<cmd>lua vim.diagnostic.goto_prev()<CR>")
|
||||||
utils.map("n", "<leader>lf", "<cmd>lua vim.lsp.buf.formatting()<CR>")
|
utils.map("n", "<leader>lf", "<cmd>lua vim.lsp.buf.formatting()<CR>")
|
||||||
|
|
||||||
-- telescope
|
-- telescope
|
||||||
|
|
|
@ -15,8 +15,9 @@ filetype=$(printf "$filetypes" | sed "s| |\n|g" | dmenu -i -p "type of the file?
|
||||||
|
|
||||||
[ -z "$filetype" ] && exit 1
|
[ -z "$filetype" ] && exit 1
|
||||||
|
|
||||||
|
dirs=$(printf "$HOME/documents $HOME/downloads")
|
||||||
|
|
||||||
file=$(find $HOME/{documents,downloads} -type f -path "*.$filetype" | dmenu -i -l 20 -p "open")
|
file=$(find $dirs -type f -path "*.$filetype" | dmenu -i -l 20 -p "open")
|
||||||
|
|
||||||
[ -z "$file" ] && exit 2
|
[ -z "$file" ] && exit 2
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,8 @@ for acc in $(ls "${XDG_DATA_HOME:-$HOME/.local/share}"/mail/)
|
||||||
do
|
do
|
||||||
new="$(find "${XDG_DATA_HOME:-$HOME/.local/share}"/mail/$acc/*/new/ -type f | grep -iv "trash" | wc -l 2>/dev/null)"
|
new="$(find "${XDG_DATA_HOME:-$HOME/.local/share}"/mail/$acc/*/new/ -type f | grep -iv "trash" | wc -l 2>/dev/null)"
|
||||||
if [ $new -gt 0 ]; then
|
if [ $new -gt 0 ]; then
|
||||||
[ -n "$(echo "$acc" | sed -n '/@ens/p')" ] && box=""
|
[ -n "$(echo "$acc" | sed -n '/@centrale/p')" ] && box=""
|
||||||
|
[ -n "$(echo "$acc" | sed -n '/@ens/p')" ] && box=""
|
||||||
[ -n "$(echo "$acc" | sed -n '/@mailo/p')" ] && box=""
|
[ -n "$(echo "$acc" | sed -n '/@mailo/p')" ] && box=""
|
||||||
[ -n "$(echo "$acc" | sed -n '/@posteo/p')" ] && box=""
|
[ -n "$(echo "$acc" | sed -n '/@posteo/p')" ] && box=""
|
||||||
unread="$unread/$box$new"
|
unread="$unread/$box$new"
|
||||||
|
|
Reference in New Issue