summaryrefslogtreecommitdiffstats
path: root/bin/vimmanpager
blob: 9df7f9432159af68de7370efd6344ddae574128d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
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' \
                        -