1
0
mirror of https://github.com/artizirk/dotfiles.git synced 2024-11-25 17:20:58 +02:00

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 # Show a table of tag and now many unread emails under that tag
for tag in $(notmuch search --output=tags '*'); do 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 done | column -s '|' -t

View File

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

View File

@ -14,7 +14,7 @@
[instaweb] [instaweb]
httpd = webrick httpd = webrick
[core] [core]
editor = nano editor = nvim
quotepath = false quotepath = false
[credential] [credential]
helper = /usr/lib/git-core/git-credential-libsecret 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' 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 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 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' max-lines 3
zstyle ':filter-select' extended-search yes zstyle ':filter-select' extended-search yes
EDITOR=nano EDITOR=nvim
VISUAL=nano VISUAL=nvim
# iostat colors # iostat colors
export S_COLORS=auto export S_COLORS=auto