~yerinalexey/dotfiles

19abd2e887f41cc34e9cf65bf055cfcf68e661e8 — Alexey Yerin 9 months ago d206c7b
Use nvim to read man pages
2 files changed, 5 insertions(+), 10 deletions(-)

M zsh/init.zsh
M zsh/profile.zsh
M zsh/init.zsh => zsh/init.zsh +0 -9
@@ 6,15 6,6 @@ setopt interactivecomments
# Less confusing time
export TIMEFMT='%J: took %E; cpu %P'

# Colored man pages
export LESS_TERMCAP_mb=$'\e[1;32m'
export LESS_TERMCAP_md=$'\e[1;32m'
export LESS_TERMCAP_me=$'\e[0m'
export LESS_TERMCAP_se=$'\e[0m'
export LESS_TERMCAP_so=$'\e[01;33m'
export LESS_TERMCAP_ue=$'\e[0m'
export LESS_TERMCAP_us=$'\e[1;4;31m'

# Completions
## Completion dump in ~/.cache
export ZSH_COMPDUMP="$XDG_CACHE_HOME/zsh-compdump"

M zsh/profile.zsh => zsh/profile.zsh +5 -1
@@ 53,5 53,9 @@ export WEECHAT_HOME="$XDG_CONFIG_HOME/weechat"
# and not /tmp which psql doesn't know about
export PGHOST='/run/postgresql'

# Nicer less
# Fix less
export LESS="-cR"
export LESSHISTFILE=-

# Use nvim to view man pages
export MANPAGER="nvim +'set ft=man' -"