summary refs log tree commit diff
path: root/.zshrc
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2016-09-13 21:29:46 -0400
committerJune McEnroe <june@causal.agency>2016-09-13 21:29:46 -0400
commita8d8332df79d8fb23d8e520535a2a13ce3596695 (patch)
tree8267e6f4a23c632d1c1c275002ca6ee205651795 /.zshrc
parentUse return value of getopt in xx (diff)
downloadsrc-a8d8332df79d8fb23d8e520535a2a13ce3596695.tar.gz
src-a8d8332df79d8fb23d8e520535a2a13ce3596695.zip
Use nvim as MANPAGER
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/.zshrc b/.zshrc
index c664866d..765892fc 100644
--- a/.zshrc
+++ b/.zshrc
@@ -11,8 +11,9 @@ bindkey -v
 KEYTIMEOUT=1
 
 PATH=$PATH:~/.bin
-export PAGER=less EDITOR=vim GIT_EDITOR=vim
-type nvim > /dev/null && EDITOR=nvim GIT_EDITOR=nvim && alias vim=nvim
+export PAGER=less MANPAGER=less EDITOR=vim GIT_EDITOR=vim
+type nvim > /dev/null &&
+  MANPAGER=manpager EDITOR=nvim GIT_EDITOR=nvim && alias vim=nvim
 export GPG_TTY=$TTY
 
 export CLICOLOR=1