Sha256: 6321fdd975154376e1712c95bdf21201bc1e56644ea867b400954d1117d6bc3d
Contents?: true
Size: 408 Bytes
Versions: 26
Compression:
Stored size: 408 Bytes
Contents
#!/usr/bin/env bash # stole from: http://unix.stackexchange.com/questions/164575/highlight-the-current-search-match-in-man-pages if [ "$1" == "" ]; then echo "Buddy, I can't find a man page if you don't give me a command.." exit 1 fi man -P "sh -c \"col -b | vim -c 'set ft=man ts=8 nomod nolist nonu' \ -c 'nnoremap i <nop>' \ -c 'nnoremap <Space> <C-f>' \ -c 'noremap q :quit<CR>' -\"" $1
Version data entries
26 entries across 26 versions & 1 rubygems