Skip to content

Instantly share code, notes, and snippets.

@gdhaworth
Created October 29, 2014 21:49
Show Gist options
  • Save gdhaworth/a2a715b0b7cb94cf3d60 to your computer and use it in GitHub Desktop.
Save gdhaworth/a2a715b0b7cb94cf3d60 to your computer and use it in GitHub Desktop.
Safe vimpager as manpager
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