1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

installed vterm & notmuch

This commit is contained in:
Ryan Kes 2019-12-04 19:49:18 +01:00
parent 0f2b0139e3
commit 2b2789ad5a
5 changed files with 71 additions and 27 deletions

View File

@ -6,11 +6,14 @@
doom-theme 'doom-molokai) doom-theme 'doom-molokai)
;; projectile ;; projectile
(setq projectile-project-search-path '("~/devel/personal/" "~/devel/andthensome/" "~/Documents/" "~")) (use-package! projectile
:config
(setq projectile-project-search-path '("~/devel/personal/" "~/devel/andthensome/" "~/Documents/")))
;; irc ;; irc
(add-hook 'circe-channel-mode-hook 'enable-lui-autopaste) (use-package! circe
(setq circe-network-options :config
(setq circe-network-options
`( `(
("znc-freenode" ("znc-freenode"
:host "irc.higherlearning.eu" :host "irc.higherlearning.eu"
@ -29,6 +32,28 @@
:pass (lambda (&rest _) (+pass-get-secret "controlpanel/irc.higherlearning.eu")) :pass (lambda (&rest _) (+pass-get-secret "controlpanel/irc.higherlearning.eu"))
:channels ("#islam")) :channels ("#islam"))
)) ))
:hook (circe-channel-mode . enable-lui-autopaste)
)
;; notmuch
(use-package! notmuch
:config
(setq +notmuch-sync-backend 'mbsync
+notmuch-sync-command "mailsync"
sendmail-program "/usr/bin/msmtp"
message-sendmail-f-is-evil t
message-sendmail-extra-arguments '("--read-envelope-from")
message-send-mail-function 'message-send-mail-with-sendmail)
)
;; org
(after! org
(map! :map org-mode-map
:n "M-j" #'org-metadown
:n "M-k" #'org-metaup)
)
(setq org-directory "~/Documents/org/"
org-log-done 'note)
;; temporarily fix bug ;; temporarily fix bug
(fset 'battery-update #'ignore) ;; (fset 'battery-update #'ignore)

View File

@ -67,7 +67,7 @@
;;eshell ; a consistent, cross-platform shell (WIP) ;;eshell ; a consistent, cross-platform shell (WIP)
;;shell ; a terminal REPL for Emacs ;;shell ; a terminal REPL for Emacs
;;term ; terminals in Emacs ;;term ; terminals in Emacs
;;vterm ; another terminals in Emacs vterm ; another terminals in Emacs
:tools :tools
;;ansible ;;ansible

View File

@ -47,6 +47,16 @@ done
wait wait
notmuch new 2>/dev/null notmuch new 2>/dev/null
notmuch tag +spam -inbox --- folder:"gmail/Spam" OR folder:"andthensome/Spam" OR folder:"ryankes/Spam"
notmuch tag +trash -inbox --- folder:"gmail/Trash" OR folder:"andthensome/Trash" OR folder:"ryankes/Trash"
notmuch tag +archive -inbox --- folder:"gmail/Archive" OR folder:"andthensome/Archive" OR folder:"ryankes/Archive"
notmuch tag +sent -inbox --- folder:"gmail/Sent" OR folder:"andthensome/Sent" OR folder:"ryankes/Sent"
notmuch tag +eudora -inbox --- folder:"/ryankes/Archive.Eudora/"
notmuch tag +hotmail -inbox --- folder:"/ryankes/Archive.hotmail/"
notmuch tag +inbox --- folder:"gmail/INBOX" OR folder:"andthensome/INBOX" OR folder:"ryankes/INBOX"
notmuch tag +gmail --- folder:"/gmail/"
notmuch tag +andthensome --- folder:"/andthensome/"
notmuch tag +ryankes --- folder:"/ryankes/"
mu index --muhome=~/.cache/mu --maildir=~/.local/share/mail 2>/dev/null mu index --muhome=~/.cache/mu --maildir=~/.local/share/mail 2>/dev/null

View File

@ -48,8 +48,8 @@ other_email=alrayyes@gmail.com;ryan@andthensome.nl;
# in the mail store. # in the mail store.
# #
[new] [new]
tags=unread;inbox; #tags=new;
ignore=Trash;Spam; #ignore=Trash;Spam;
# Search configuration # Search configuration
# #
@ -61,7 +61,7 @@ ignore=Trash;Spam;
# query will override that exclusion. # query will override that exclusion.
# #
[search] [search]
exclude_tags=Trash;Spam; exclude_tags=trash;spam;
# Maildir compatibility configuration # Maildir compatibility configuration
# #

View File

@ -78,5 +78,14 @@ export PASSWORD_STORE_ENABLE_EXTENSIONS="true"
# Save history file in proper place # Save history file in proper place
HISTFILE=~/.cache/zsh/history HISTFILE=~/.cache/zsh/history
# Use alternative muhome -# Use alternative muhome
export MU_HOME="/home/alrayyes/.cache/mu" export MU_HOME="/home/alrayyes/.cache/mu"
# Needed to get zsh to play nice with emacs vterm
if [[ "$INSIDE_EMACS" = 'vterm' ]]; then
alias clear='printf "\e]51;Evterm-clear-scrollback\e\\";tput clear'
fi
vterm_prompt_end() {
printf "\e]51;A$(whoami)@$(hostname):$(pwd)\e\\";
}
PROMPT=$PROMPT'%{$(vterm_prompt_end)%}'