Skip to content

Instantly share code, notes, and snippets.

@willbeaufoy
Last active November 17, 2021 10:49
Show Gist options
  • Save willbeaufoy/78a16fc1b5a7c01853a7 to your computer and use it in GitHub Desktop.
Save willbeaufoy/78a16fc1b5a7c01853a7 to your computer and use it in GitHub Desktop.
Open man pages in Sublime Text 3
# Paste this function into the shell, and/or add it to .bashrc.
# Then typing sman ssh will open the ssh man page in sublime text.
# Requires sublime text command line options (open with subl)
function sman()
{
man $1 > /tmp/man && subl /tmp/man
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment