From a8d8332df79d8fb23d8e520535a2a13ce3596695 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Tue, 13 Sep 2016 21:29:46 -0400 Subject: Use nvim as MANPAGER --- .bin/manpager | 1 + .zshrc | 5 +++-- install.sh | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100755 .bin/manpager diff --git a/.bin/manpager b/.bin/manpager new file mode 100755 index 00000000..f358f5d9 --- /dev/null +++ b/.bin/manpager @@ -0,0 +1 @@ +exec nvim -c 'set ft=man' - 1< /dev/tty 2< /dev/tty 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 diff --git a/install.sh b/install.sh index fe547ae9..dd18fe28 100755 --- a/install.sh +++ b/install.sh @@ -21,6 +21,7 @@ link() { echo "$1" } +link .bin/manpager link .bin/xx.c link .config/git/config link .config/git/ignore -- cgit 1.4.1 d=282c2d4db62460b706cf97f935b17aa5ef27eb0b&follow=1'>commit diff
path: root/bin/cash (unfollow)
Commit message (Expand)Author
2019-01-14Add cash.7 READMEJune McEnroe
2019-01-14Document old=new argument of fc -sJune McEnroe
2019-01-14Allow replacing empty string with fc old=newJune McEnroe
2019-01-13Enable warnings in libeditJune McEnroe
2019-01-13Show full path in RPS1June McEnroe
2019-01-13Shorten $HOME to ~ in prompt expansionJune McEnroe
2019-01-13Document PSlitJune McEnroe
2019-01-13Document PS0June McEnroe
2019-01-13Set PS0 in cashJune McEnroe
2019-01-13Add PS0June McEnroe
2019-01-13Change default ENV from cashrc to env.shJune McEnroe
2019-01-13Use colours in cash promptsJune McEnroe
2019-01-12Set PSlit like NetBSD shJune McEnroe
2019-01-12Install gnupg2 from pkgsrc and symlink gpgJune McEnroe
2019-01-12Reference cash builtin man pages in cash.1 SEE ALSOJune McEnroe
2019-01-12Restore cash builtin man page datesJune McEnroe
2019-01-12Use local libeditJune McEnroe
2019-01-12Replace libedit MakefileJune McEnroe
2019-01-11Import /usr/src/lib/libedit from NetBSD 8.0June McEnroe
2019-01-11Add PSlit for prompt escapesJune McEnroe
2019-01-11Don't make depend automaticallyJune McEnroe