Browse code

Add manpager

Robert Cranston authored on 19/06/2022 22:48:28
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,5 @@
1
+# https://vimhelp.org/filetype.txt.html#manpager.vim
2
+if [ "$(command -v vim)" ] && vim --version | grep -q '+eval'
3
+then
4
+  export MANPAGER='vim +MANPAGER --not-a-term -'
5
+fi