summaryrefslogblamecommitdiffstats
path: root/bin/vimmanpager
blob: dfd36f37b64b4e5b2bf84ff4df862c65b4801ec8 (plain) (tree)
1
2
3
4
         


               










                                                              
#!/bin/sh
set -eu
set -o pipefail

sed -e 's/\x1B\[[[:digit:]]\+m//g' | col -b |
    vim \
        -c 'let no_plugin_maps = 1' \
        -c 'let g:rainbow_active = 0' \
        -c 'let g:airline#extensions#whitespace#checks = []' \
        -c "if exists('\$MAN_PN') | file \$MAN_PN | endif" \
        -c 'setlocal nolist nomod noswf ft=man' \
        -c 'runtime! macros/less.vim' \
        -c 'set ma' \
        -c 'setlocal noma' \
        -