diff options
| -rw-r--r-- | .gitmodules | 3 | ||||
| -rw-r--r-- | .mailcap | 2 | ||||
| -rw-r--r-- | .mbsyncrc | 19 | ||||
| -rw-r--r-- | .muttrc | 27 | ||||
| -rw-r--r-- | .vimrc | 2 | ||||
| -rw-r--r-- | .zsh_aliases | 3 | ||||
| -rw-r--r-- | .zshrc | 7 | ||||
| -rw-r--r-- | README.md | 5 | ||||
| -rwxr-xr-x | install (renamed from install.sh) | 8 | ||||
| m--------- | mutt-colors-solarized | 0 |
10 files changed, 64 insertions, 12 deletions
diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..1335b96 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "mutt-colors-solarized"] + path = mutt-colors-solarized + url = https://github.com/altercation/mutt-colors-solarized diff --git a/.mailcap b/.mailcap new file mode 100644 index 0000000..e00e02c --- /dev/null +++ b/.mailcap @@ -0,0 +1,2 @@ +text/html; "$BROWSER" %s &: test=test -n "$DISPLAY"; needsterminal; +text/html; "$BROWSERCLI" -I %{charse} -T text/html; copiousoutput; diff --git a/.mbsyncrc b/.mbsyncrc new file mode 100644 index 0000000..649e823 --- /dev/null +++ b/.mbsyncrc @@ -0,0 +1,19 @@ +IMAPStore cacharle-remote +Host mail.cacharle.xyz +Port 993 +User me +SSLType IMAPS +CertificateFile /etc/ssl/certs/ca-certificates.crt + +MaildirStore cacharle-local +Path ~/Mail/cacharle/ +Inbox ~/Mail/cacharle/INBOX +Subfolders Verbatim + +Channel cacharle +Master :cacharle-remote: +Slave :cacharle-local: +Create Both +Expunge Both +Patterns * +SyncState * @@ -1,12 +1,35 @@ +############################################################################### +# muttrc +############################################################################### + set from = 'me@cacharle.xyz' set realname = 'Charles Cabergs' -set smtp_url = 'smtp://me@cacharle.xyz@mail.cacharle.xyz:587' -set folder = 'imaps://me@cacharle.xyz@mail.cacharle.xyz:993' +set smtp_url = 'smtp://me@mail.cacharle.xyz:587' +set folder = 'imaps://me@mail.cacharle.xyz:993' +# set folder = "~/Mail/cacharle" + +auto_view text/html +alternative_order text/plain text/enriched text/html + set spoolfile = '+INBOX' +set record = "+Send" +set trash = "+Trash" +set postponed = "+Drafts" + +mailboxes =INBOX =Sent =Trash =Drafts + +set editor = 'vim' +set sort = 'reverse-date' + +set date_format = "%d/%m %I:%M" +set index_format = "%2C %Z %d %-15.15F %s (%-4.4c)" set header_cache = "~/.mutt/cache/headers" set message_cachedir = "~/.mutt/cache/bodies" set certificate_file = "~/.mutt/certificates" set ssl_force_tls = yes + +# color scheme +source "$DOTDIR/mutt-colors-solarized/mutt-colors-solarized-dark-16.muttrc" @@ -216,6 +216,8 @@ nnoremap <leader>m :make all <CR> " hook {{{ " remove trailing white space on save autocmd BufWritePre * %s/\s\+$//e +" dirty hack to disable this feature on markdown (autocmd! wouldn't work) +autocmd BufReadPre *.md autocmd! BufWritePre " }}} " filetype {{{ diff --git a/.zsh_aliases b/.zsh_aliases index 16361af..b2bbcf1 100644 --- a/.zsh_aliases +++ b/.zsh_aliases @@ -86,6 +86,7 @@ alias zshaliasrc="vim $DOTDIR/.zsh_aliases && source $DOTDIR/.zshrc" alias vimrc="vim $DOTDIR/.vimrc" alias vimplugrc="vim $DOTDIR/.pluggins.vim" alias xmonadrc="vim $DOTDIR/xmonad.hs" +alias muttrc="vim $DOTDIR/.muttrc" # other alias date="date -R" @@ -111,3 +112,5 @@ alias openpdf='zathura `ls -1 *.pdf | dmenu` &' alias cagob='RUSTFLAGS="$RUSTFLAGS -A dead_code" cargo build' alias cagor='RUSTFLAGS="$RUSTFLAGS -A dead_code" cargo run' + +# alias mutt='neomutt' @@ -83,10 +83,9 @@ export XDG_DATA_HOME="/home/charles/.data/" export EDITOR="vim" export TERM="st-256color" -# export TERM="xterm-256color" - -# mail -export MAIL='charles.cabergs@gmail.com' +export MAIL='me@cacharle.xyz' +export BROWSER='chromium' +export BROWSERCLI='w3m' # ignore filetypes in autocomplete fignore=(o hi) @@ -2,9 +2,9 @@ ## Installation -1. Backup your current configuration files, they will be overwrite +1. Backup your current configuration files, they will be overwritten 2. `cd` in this repo -3. Run the `install.sh` script +3. Run the `install` script ## Tools I use @@ -12,6 +12,7 @@ * [zsh](https://www.zsh.org/) - interactive shell * [xmonad](https://xmonad.org) - window manager * [redshift](https://github.com/jonls/redshift) - change screen color temperature +* [mutt](http://www.mutt.org/) - email client ## School 19 Config @@ -31,14 +31,14 @@ create_dotfile_link xmonad.hs .xmonad/xmonad.hs create_dotfile_link_same .gdbinit create_dotfile_link_same .ghci create_dotfile_link_same .gitconfig -create_dotfile_link_same muttrc +create_dotfile_link_same .muttrc +create_dotfile_link_same .mailcap +create_dotfile_link_same .xinitrc +create_dotfile_link_same .zprofile [ ! -d $HOME/.config ] && mkdir $HOME/.config create_dotfile_link redshift.conf .config/redshift.conf -ln -sf $DOTDIR/.xinitrc $HOME/.xinitrc -ln -sf $DOTDIR/.zprofile $HOME/.zprofile - ################ # dependencies # ################ diff --git a/mutt-colors-solarized b/mutt-colors-solarized new file mode 160000 +Subproject 3b23c55eb43849975656dd89e3f35dacd2b93e6 |
