Created
October 29, 2014 21:49
-
-
Save gdhaworth/a2a715b0b7cb94cf3d60 to your computer and use it in GitHub Desktop.
Safe vimpager as manpager
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export MANPAGER="/bin/sh -c \"col -b | vim -c 'set mouse=a ft=man ts=8 nomod nolist nonu noma' -c 'runtime! macros/less.vim' -\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment