# HG changeset patch # User Steve Losh # Date 1626199676 14400 # Node ID 65b7fdace3da69570c410d0c51d1c2140434ff4d # Parent 86fd9633078cc54125df60b666088f4d7334d456 More documentation shortcuts diff -r 86fd9633078c -r 65b7fdace3da bin/posix --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/posix Tue Jul 13 14:07:56 2021 -0400 @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +if [ -z "$1" ]; then + w3m "$HOME/Dropbox/docs/posix/idx/utilities.html" +else + HTMLFILE="$HOME/Dropbox/docs/posix/utilities/$1.html" + if [ -s "$HTMLFILE" ]; then + w3m "$HTMLFILE" + else + echo "No matching file for '$1'" + fi +fi diff -r 86fd9633078c -r 65b7fdace3da vim/vimrc --- a/vim/vimrc Tue Jun 22 11:24:13 2021 -0400 +++ b/vim/vimrc Tue Jul 13 14:07:56 2021 -0400 @@ -2826,6 +2826,16 @@ " Mini-plugins ------------------------------------------------------------ {{{ " Stuff that should probably be broken out into plugins, but hasn't proved to be " worth the time to do so just yet. +" +" HTTP Statuses {{{ + +function! HTTPStatuses() + call termopen('w3m /home/sjl/Dropbox/docs/httpstatuses/httpstatuses.com/index.html') +endfunc + +command! HTTPStatuses call HTTPStatuses() + +" }}} " Synstack {{{