summary refs log tree commit diff
path: root/.bin/manpager
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2016-09-13 21:29:46 -0400
committerJune McEnroe <programble@gmail.com>2016-09-13 21:29:46 -0400
commitcd661fef839a92842beb163f83f74ad3aaaab5b7 (patch)
tree9da4c2e96a268e92c6327b0dca819e8c148e495f /.bin/manpager
parentUse return value of getopt in xx (diff)
downloadsrc-cd661fef839a92842beb163f83f74ad3aaaab5b7.tar.gz
src-cd661fef839a92842beb163f83f74ad3aaaab5b7.zip
Use nvim as MANPAGER
Diffstat (limited to '.bin/manpager')
-rwxr-xr-x.bin/manpager1
1 files changed, 1 insertions, 0 deletions
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