20241109
This commit is contained in:
parent
c4d3a5d9a6
commit
9a26e1370c
11 changed files with 114 additions and 11 deletions
|
@ -1,5 +1,11 @@
|
|||
local mapkey = require("utils.keymapper").mapvimkey
|
||||
|
||||
-- remap default
|
||||
-- Don't touch unnamed register when pasting over visual selection
|
||||
vim.keymap.set("x", "p", function()
|
||||
return 'pgv"' .. vim.v.register .. "y"
|
||||
end, { expr = true, noremap = true, silent = true })
|
||||
|
||||
-- Buffer Navigation
|
||||
mapkey("<leader>bn", "bnext", "n") -- Next buffer
|
||||
mapkey("<leader>bp", "bprevious", "n") -- Prev buffer
|
||||
|
|
|
@ -1,59 +0,0 @@
|
|||
IMAPAccount gmail
|
||||
Host imap.gmail.com
|
||||
Port 993
|
||||
User foozzione@gmail.com
|
||||
PassCmd "gpg -dq --for-your-eyes-only --no-tty ~/.config/mutt/gmail_isync.gpg"
|
||||
TLSType IMAPS
|
||||
CertificateFile /opt/homebrew/Cellar/ca-certificates/2024-09-24/share/ca-certificates/cacert.pem
|
||||
AuthMechs LOGIN
|
||||
|
||||
IMAPStore gmail-remote
|
||||
Account gmail
|
||||
|
||||
MaildirStore gmail-local
|
||||
Subfolders Verbatim
|
||||
Path ~/.local/share/email/foozzione_gmail/
|
||||
INBOX ~/.local/share/email/foozzione_gmail/INBOX
|
||||
Flatten .
|
||||
|
||||
Channel gmail
|
||||
Far :gmail-remote:
|
||||
Near :gmail-local:
|
||||
Patterns *
|
||||
# Automatically create missing mailboxes, both locally and on the server
|
||||
Create Both
|
||||
# Sync the movement of messages between folders and deletions, add after making sure the sync works
|
||||
Expunge Both
|
||||
# Save the synchronization state files in the relevant directory
|
||||
SyncState *
|
||||
MaxMessages 0
|
||||
|
||||
|
||||
IMAPAccount posteo-remote
|
||||
Host posteo.de
|
||||
Port 993
|
||||
User fz0x1@posteo.net
|
||||
PassCmd "gpg -dq --for-your-eyes-only --no-tty ~/.config/mutt/posteo_isync.gpg"
|
||||
TLSType IMAPS
|
||||
CertificateFile /opt/homebrew/Cellar/ca-certificates/2024-09-24/share/ca-certificates/cacert.pem
|
||||
|
||||
IMAPStore posteo-remote
|
||||
Account posteo-remote
|
||||
|
||||
MaildirStore posteo-local
|
||||
Subfolders Verbatim
|
||||
Path ~/.local/share/email/fz0x1_posteo/
|
||||
INBOX ~/.local/share/email/fz0x1_posteo/INBOX
|
||||
Flatten .
|
||||
|
||||
Channel posteo
|
||||
Far :posteo-remote:
|
||||
Near :posteo-local:
|
||||
Patterns *
|
||||
# Automatically create missing mailboxes, both locally and on the server
|
||||
Create Both
|
||||
# Sync the movement of messages between folders and deletions, add after making sure the sync works
|
||||
Expunge Both
|
||||
# Save the synchronization state files in the relevant directory
|
||||
SyncState *
|
||||
MaxMessages 0
|
|
@ -1,28 +0,0 @@
|
|||
# Set default values for all following accounts.
|
||||
defaults
|
||||
auth on
|
||||
tls on
|
||||
tls_starttls on
|
||||
tls_trust_file /opt/homebrew/Cellar/ca-certificates/2024-09-24/share/ca-certificates/cacert.pem
|
||||
logfile ~/.config/msmtp/msmtp.log
|
||||
|
||||
# Gmail
|
||||
account gmail
|
||||
host smtp.gmail.com
|
||||
port 465
|
||||
tls_starttls off
|
||||
from foozzione@gmail.com
|
||||
user foozzione@gmail.com
|
||||
passwordeval "gpg -dq $HOME/.config/mutt/gmail_isync.gpg"
|
||||
|
||||
# Posteo
|
||||
account posteo
|
||||
host posteo.de
|
||||
port 465
|
||||
tls_starttls off
|
||||
from fz0x1@posteo.net
|
||||
user fz0x1@posteo.net
|
||||
passwordeval "gpg -dq $HOME/.config/mutt/posteo_isync.gpg"
|
||||
|
||||
# Set a default account
|
||||
account default: posteo
|
|
@ -122,6 +122,8 @@ alias cclear="reset && tmux clear-history && cd"
|
|||
## git
|
||||
alias s_diary="cd ~/PKM/diary/ && git commit -am \"\$(date +%Y%m%d)\" && git push origin master ; cd ~"
|
||||
alias s_ledger="cd ~/PKM/ledger/ && git commit -am \"\$(date +%Y%m%d)\" && git push origin master ; cd ~"
|
||||
## screenshots
|
||||
alias scrn="screenshot.sh"
|
||||
|
||||
# Preferred editor for local and remote sessions
|
||||
export EDITOR='nvim'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue