Add a "vim" pager (need a less.vim macro).

This commit is contained in:
gardouille 2015-01-30 12:00:39 +01:00
parent b049232a9d
commit 5c495fff26
1 changed files with 7 additions and 0 deletions

7
vimmanpager Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
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! ~/.vim/macros/less.vim' -