18092024
This commit is contained in:
parent
15464e5135
commit
72da4e7cd2
14 changed files with 175 additions and 27 deletions
|
@ -1,5 +1,26 @@
|
|||
source ./settings
|
||||
source ./paths
|
||||
# set debug_level = 5
|
||||
# set debug_file = "~/neomutt_debug.log"
|
||||
|
||||
# default account
|
||||
source "$HOME/.config/mutt/accounts/account.com.foozzione_gmail"
|
||||
|
||||
folder-hook 'account.com.foozzione_gmail' 'source $HOME/.config/mutt/accounts/account.com.foozzione_gmail'
|
||||
folder-hook 'account.com.fz0x1_posteo' 'source $HOME/.config/mutt/accounts/account.com.fz0x1_posteo'
|
||||
|
||||
# Macros to switch accounts
|
||||
macro index Q "<enter-command>unmailboxes *<enter><enter-command>source $HOME/.config/mutt/accounts/account.com.foozzione_gmail<enter><sync-mailbox><change-folder>!<enter>"
|
||||
macro index P "<enter-command>unmailboxes *<enter><enter-command>source $HOME/.config/mutt/accounts/account.com.fz0x1_posteo<enter><sync-mailbox><change-folder>!<enter>"
|
||||
|
||||
set sendmail = "msmtp -a gmail"
|
||||
|
||||
# Установка отправителя по умолчанию
|
||||
set from = "foozzione@gmail.com"
|
||||
set realname = "Tkachenko Ihor"
|
||||
|
||||
# Определите отправителя в зависимости от текущего ящика
|
||||
send-hook '~f foozzione@gmail.com' 'set sendmail="msmtp -a gmail"'
|
||||
send-hook '~f fz0x1@posteo.net' 'set sendmail="msmtp -a posteo"'
|
||||
|
||||
# Ensure TLS is enforced
|
||||
set ssl_starttls = yes
|
||||
|
@ -8,6 +29,7 @@ set ssl_force_tls = yes
|
|||
unset record
|
||||
|
||||
# settings
|
||||
set beep_new = yes
|
||||
set pager_index_lines = 10
|
||||
set pager_context = 3 # show 3 lines of context
|
||||
set pager_stop # stop at end of message
|
||||
|
@ -46,6 +68,26 @@ set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
|
|||
set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
|
||||
set send_charset = "utf-8:iso-8859-1:us-ascii" # send in utf-8
|
||||
|
||||
# Use GPGME
|
||||
# Use my key for signing and encrypting
|
||||
set pgp_default_key = B2A6D86C6EB94D40A9031FFADDCA1A115D6D2284
|
||||
# Use GPGME
|
||||
set crypt_use_gpgme = yes
|
||||
# Automatically sign all out-going email
|
||||
set crypt_autosign = yes
|
||||
# Sign replies to signed emails
|
||||
set crypt_replysign = yes
|
||||
# Encrypt replies to encrypted emails
|
||||
set crypt_replyencrypt = yes
|
||||
# Encrypt and sign replies to encrypted and signed email
|
||||
set crypt_replysignencrypted = yes
|
||||
# Attempt to verify signatures automatically
|
||||
set crypt_verify_sig = yes
|
||||
# Attempt to encrypt automatically
|
||||
set crypt_opportunistic_encrypt = no
|
||||
# So you can view encrypted emails automatically
|
||||
auto_view application/pgp-encrypted
|
||||
|
||||
#sidebar
|
||||
set sidebar_visible # comment to disable sidebar by default
|
||||
set sidebar_short_path
|
||||
|
@ -57,7 +99,7 @@ bind index,pager \CN sidebar-next
|
|||
bind index,pager \CE sidebar-open
|
||||
bind index,pager B sidebar-toggle-visible
|
||||
|
||||
set editor = "vim"
|
||||
set editor = "nvim"
|
||||
|
||||
# bindings
|
||||
macro index A \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue