__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
" Vim plugin for using Vim as manpager.
" Maintainer: Enno Nagel <ennonagel+vim@gmail.com>
" Last Change: 2022 Oct 17
if exists('g:loaded_manpager_plugin')
finish
endif
let g:loaded_manpager_plugin = 1
" Set up the current buffer (likely read from stdin) as a manpage
command MANPAGER call s:ManPager()
function s:ManPager()
" global options, keep these to a minimum to avoid side effects
if &compatible
set nocompatible
endif
if exists('+viminfofile')
set viminfofile=NONE
endif
syntax on
" Make this an unlisted, readonly scratch buffer
setlocal buftype=nofile noswapfile bufhidden=hide nobuflisted readonly
" Ensure text width matches window width
setlocal foldcolumn& nofoldenable nonumber norelativenumber
" In case Vim was invoked with -M
setlocal modifiable
" Emulate 'col -b'
exe 'silent! keepj keepp %s/\v(.)\b\ze\1?//e' .. (&gdefault ? '' : 'g')
" Remove ansi sequences
exe 'silent! keepj keepp %s/\v\e\[%(%(\d;)?\d{1,2})?[mK]//e' .. (&gdefault ? '' : 'g')
" Remove empty lines above the header
call cursor(1, 1)
let n = search(".*(.*)", "c")
if n > 1
exe "1," . n-1 . "d"
endif
" Finished preprocessing the buffer, prevent any further modifications
setlocal nomodified nomodifiable
" Set filetype to man even if ftplugin is disabled
setlocal filetype=man
runtime ftplugin/man.vim
endfunction
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| getscriptPlugin.vim | File | 1.36 KB | 0644 |
|
| gzip.vim | File | 3.04 KB | 0644 |
|
| logiPat.vim | File | 10.03 KB | 0644 |
|
| manpager.vim | File | 1.35 KB | 0644 |
|
| matchparen.vim | File | 7.38 KB | 0644 |
|
| netrwPlugin.vim | File | 10.49 KB | 0644 |
|
| rrhelper.vim | File | 1.38 KB | 0644 |
|
| spellfile.vim | File | 564 B | 0644 |
|
| tarPlugin.vim | File | 2.33 KB | 0644 |
|
| tohtml.vim | File | 14.42 KB | 0644 |
|
| vimballPlugin.vim | File | 2.98 KB | 0644 |
|
| zipPlugin.vim | File | 2.54 KB | 0644 |
|