summaryrefslogtreecommitdiffstats
path: root/bin/vimmanpager
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2017-10-29 20:25:57 -0400
committerJesse Luehrs <doy@tozt.net>2017-10-29 21:47:38 -0400
commit159a931fd7ce7822789ecf34aaf5ef4418b26fac (patch)
tree80d7da32fa8149bf01ee48733b0cad6471f64d2d /bin/vimmanpager
parent72eb097628e8fb5ae2cdddf2f51460a2e5c4bfe5 (diff)
downloadconf-159a931fd7ce7822789ecf34aaf5ef4418b26fac.tar.gz
conf-159a931fd7ce7822789ecf34aaf5ef4418b26fac.zip
vimmanpager improvements
Diffstat (limited to 'bin/vimmanpager')
-rwxr-xr-xbin/vimmanpager11
1 files changed, 8 insertions, 3 deletions
diff --git a/bin/vimmanpager b/bin/vimmanpager
index e033008..9df7f94 100755
--- a/bin/vimmanpager
+++ b/bin/vimmanpager
@@ -2,6 +2,11 @@
sed -e 's/\x1B\[[[:digit:]]\+m//g' | col -b | \
vim \
-c 'let no_plugin_maps = 1' \
- -c 'set nolist nomod ft=man' \
- -c 'let g:showmarks_enable=0' \
- -c 'runtime! macros/less.vim' -
+ -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' \
+ -