From a74e826deb6e9069c004716a5255c94c666acc6b Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Tue, 11 Jul 2017 14:36:15 -0400 Subject: Remove manpager script neovim now behaves correctly without the redirection hack. --- home/.bin/manpager | 1 - home/.zshrc | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100755 home/.bin/manpager (limited to 'home') diff --git a/home/.bin/manpager b/home/.bin/manpager deleted file mode 100755 index f358f5d9..00000000 --- a/home/.bin/manpager +++ /dev/null @@ -1 +0,0 @@ -exec nvim -c 'set ft=man' - 1< /dev/tty 2< /dev/tty diff --git a/home/.zshrc b/home/.zshrc index 6b7feebb..b05b4e39 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -19,7 +19,7 @@ path=( export PAGER=less MANPAGER=less EDITOR=vim GIT_EDITOR=vim type nvim > /dev/null \ - && MANPAGER=manpager EDITOR=nvim GIT_EDITOR=nvim \ + && EDITOR=nvim GIT_EDITOR=nvim MANPAGER="nvim -c 'set ft=man' -" \ && alias vim=nvim export GPG_TTY=$TTY -- cgit 1.4.1