use nvim editor, config email

This commit is contained in:
Arti Zirk 2019-04-02 17:10:34 +03:00
parent a93c6aad9d
commit 007f41c4a0
4 changed files with 7 additions and 5 deletions

View File

@ -2,5 +2,5 @@
# Show a table of tag and now many unread emails under that tag
for tag in $(notmuch search --output=tags '*'); do
echo -ne "${tag} | $(notmuch count tag:${tag} and tag:unread) \n";
echo -ne "${tag} | $(notmuch count tag:\"${tag}\" and tag:unread) \n";
done | column -s '|' -t

View File

@ -22,7 +22,7 @@
"email": "arti.zirk@gmail.com",
"gpgkey": "",
"always_gpg_sign": "false",
"sendmail": "",
"sendmail": "msmtp -a arti.zirk@gmail.com --read-envelope-from -i -t",
"default": "true",
"save_sent": "true",
"save_sent_to": "\/home\/arti\/Mail\/sent\/cur\/",

View File

@ -14,7 +14,7 @@
[instaweb]
httpd = webrick
[core]
editor = nano
editor = nvim
quotepath = false
[credential]
helper = /usr/lib/git-core/git-credential-libsecret

6
.zshrc
View File

@ -5,6 +5,8 @@ function virtual_env_prompt () {
}
grml_theme_add_token virtual-env -f virtual_env_prompt '%F{magenta}' '%f'
zstyle ':prompt:grml:left:setup' items rc virtual-env change-root user at host path vcs percent
# Disable right side sad smiley, works nicer with resized terminal
zstyle ':prompt:grml:right:setup' use-rprompt false
source /etc/profile.d/vte.sh
@ -44,8 +46,8 @@ zstyle ':filter-select:highlight' matched fg=green
zstyle ':filter-select' max-lines 3
zstyle ':filter-select' extended-search yes
EDITOR=nano
VISUAL=nano
EDITOR=nvim
VISUAL=nvim
# iostat colors
export S_COLORS=auto