summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-07-19 00:33:25 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-07-19 00:33:25 +0200
commit86c5ff5335a1adaf721778bdfcb79ff06726e71f (patch)
tree1647b222786a82cd7cb7d090467fa23269ce9141
parent58f6aa8956d7e5b512fccc4dbc83704de3e0719a (diff)
checkpoint
-rw-r--r--config/essentials/vis/themes/nord.lua2
-rw-r--r--config/essentials/vis/visrc.lua9
-rw-r--r--config/extra/mutt/configs/tlast@spacehb.net.muttrc18
-rw-r--r--config/extra/mutt/muttrc2
-rw-r--r--config/home/.mbsyncrc34
5 files changed, 58 insertions, 7 deletions
diff --git a/config/essentials/vis/themes/nord.lua b/config/essentials/vis/themes/nord.lua
index 2acb4f4..847b96a 100644
--- a/config/essentials/vis/themes/nord.lua
+++ b/config/essentials/vis/themes/nord.lua
@@ -26,7 +26,7 @@ local colors = {
lexers.colors = colors
local fg = "fore:" .. colors.fg
-local bg = "back:" .. colors.bg
+local bg = "back:default"
lexers.STYLE_DEFAULT = bg .. "," .. fg
lexers.STYLE_NOTHING = bg
diff --git a/config/essentials/vis/visrc.lua b/config/essentials/vis/visrc.lua
index 7fc27cf..8b83eb4 100644
--- a/config/essentials/vis/visrc.lua
+++ b/config/essentials/vis/visrc.lua
@@ -157,7 +157,14 @@ vis.events.subscribe(vis.events.WIN_OPEN, function(win) -- luacheck: no unused a
map_cmd(m.NORMAL, "\\si", "-/\\<if\\>/,/\\<fi\\>/", "Expand to if")
end
+ if win.syntax == "yaml" then
+ win.options.tabwidth = 2
+ win.options.expandtab = true
+ end
+
if win.syntax == "markdown" then
+ win.options.tabwidth = 2
+ win.options.expandtab = true
vis:map(m.NORMAL, "\\h", function()
vis:command("!lowdown $vis_filepath > ${vis_filepath%.md}.html")
vis:info("exported.")
@@ -166,8 +173,6 @@ vis.events.subscribe(vis.events.WIN_OPEN, function(win) -- luacheck: no unused a
map_cmd(m.NORMAL, "\\sh", "-/^#+/,/^#+/-", "Expand to header")
-- select header block by name
-- ,x/^# Planning\n([^#]|\n)+
- win.options.tabwidth = 2
- win.options.expandtab = true
end
if win.syntax == "ansi_c" then
diff --git a/config/extra/mutt/configs/tlast@spacehb.net.muttrc b/config/extra/mutt/configs/tlast@spacehb.net.muttrc
new file mode 100644
index 0000000..ebe67bd
--- /dev/null
+++ b/config/extra/mutt/configs/tlast@spacehb.net.muttrc
@@ -0,0 +1,18 @@
+# vim: filetype=neomuttrc
+# muttrc file for account tlast@spacehb.net
+set realname = "TlasT"
+set from = "tlast@spacehb.net"
+set sendmail = "msmtp -a tlast@spacehb.net"
+alias me tlast <tlast@spacehb.net>
+set folder = "/home/aluc/.local/share/mail/tlast@spacehb.net"
+set header_cache = "/home/aluc/.cache/mutt-wizard/luca_spacehb.net/headers"
+set message_cachedir = "/home/aluc/.cache/mutt-wizard/luca_spacehb.net/bodies"
+set mbox_type = Maildir
+set hostname = "spacehb.net"
+set spoolfile = "+INBOX"
+set postponed = "+Drafts"
+set trash = "+Trash"
+set record = "+Sent"
+
+macro index o "<shell-escape>mailsync tlast@spacehb.net<enter>" "sync tlast@spacehb.net"
+mailboxes "=Drafts" "=Sent" "=Junk" "=INBOX"
diff --git a/config/extra/mutt/muttrc b/config/extra/mutt/muttrc
index a5cfa90..7572eac 100644
--- a/config/extra/mutt/muttrc
+++ b/config/extra/mutt/muttrc
@@ -1 +1 @@
-source /home/aluc/.config/mutt/configs/raymaekers.luca@gmail.com
+source /home/aluc/.config/mutt/configs/tlast@spacehb.net.muttrc
diff --git a/config/home/.mbsyncrc b/config/home/.mbsyncrc
index aa8c521..d2e61d2 100644
--- a/config/home/.mbsyncrc
+++ b/config/home/.mbsyncrc
@@ -1,9 +1,9 @@
-
+# Start profile
IMAPStore luca@spacehb.net-remote
Host mail.spacehb.net
Port 993
User luca@spacehb.net
-PassCmd "pass websites/spacehb.net/luca@spacehb.net"
+PassCmd "pass hosts/spacehb/luca"
AuthMechs LOGIN
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
@@ -24,11 +24,12 @@ MaxMessages 0
ExpireUnread no
# End profile
+# Start profile
IMAPStore billy@spacehb.net-remote
Host mail.spacehb.net
Port 993
User billy@spacehb.net
-PassCmd "pass websites/spacehb.net/billy@spacehb.net"
+PassCmd "pass hosts/spacehb/billy"
AuthMechs LOGIN
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
@@ -48,3 +49,30 @@ SyncState *
MaxMessages 0
ExpireUnread no
# End profile
+
+# Start profile
+IMAPStore tlast@spacehb.net-remote
+Host mail.spacehb.net
+Port 993
+User tlast@spacehb.net
+PassCmd "pass hosts/spacehb/tlast"
+AuthMechs LOGIN
+SSLType IMAPS
+CertificateFile /etc/ssl/certs/ca-certificates.crt
+
+MaildirStore tlast@spacehb.net-local
+Subfolders Verbatim
+Path /home/aluc/.local/share/mail/tlast@spacehb.net/
+Inbox /home/aluc/.local/share/mail/tlast@spacehb.net/INBOX
+
+Channel tlast@spacehb.net
+Expunge Both
+Far :tlast@spacehb.net-remote:
+Near :tlast@spacehb.net-local:
+Patterns * !"[Gmail]/All Mail"
+Create Both
+SyncState *
+MaxMessages 0
+ExpireUnread no
+# End profile
+