summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2017-07-11 14:36:15 -0400
committerJune McEnroe <june@causal.agency>2017-07-11 14:36:15 -0400
commita74e826deb6e9069c004716a5255c94c666acc6b (patch)
tree3cbf42fdc0d732ea249bbe9c28701aab9a9a98ca
parentOnly pacman -Sy once (diff)
downloadsrc-a74e826deb6e9069c004716a5255c94c666acc6b.tar.gz
src-a74e826deb6e9069c004716a5255c94c666acc6b.zip
Remove manpager script
neovim now behaves correctly without the redirection hack.
Diffstat (limited to '')
-rwxr-xr-xhome/.bin/manpager1
-rw-r--r--home/.zshrc2
-rwxr-xr-xlink.sh2
3 files changed, 1 insertions, 4 deletions
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
 
diff --git a/link.sh b/link.sh
index b9b5b508..8b4683bf 100755
--- a/link.sh
+++ b/link.sh
@@ -23,13 +23,11 @@ link() {
 
 link '.bin/bri.c'
 link '.bin/jrp.c'
-link '.bin/manpager'
 link '.bin/pbd.c'
 link '.bin/xx.c'
 link '.config/git/config'
 link '.config/git/ignore'
 link '.config/htop/htoprc'
-link '.config/nvim/autoload/pathogen.vim'
 link '.config/nvim/colors/trivial.vim'
 link '.config/nvim/init.vim'
 link '.config/nvim/syntax/nasm.vim'