The following is a non-comprehensive list.
js-no-comments <js-file>
Strips comments from JavaScript file.json [<files>...]
Pretty-print JSON input.loc [<GITHUB-URL>] [bin lib libexec src]
Count lines of code (excluding comments and blank lines) in given files and directories. With a GitHub project URL, it will download that project's source code and perform the search there.websize <URL>
Downloads a web page including assets and displays the total size downloaded. Note: doesn't take possible compression into account.search-and-replace [-w] <term> <replacement>
Search for withag
and usesed
to substitute it with . Outputs file names where substitution has been made.
changelog [<range>] [-- <directory> ...]
Displays git log in a format suitable for change log. If no range given, displays log from the last git tag reachable from this branch. Use<directory>
to filter down entries to just files that contain runtime code.git autofixup
Commits the staged change as a fixup for the last commit that touched the changed line. Useful for preparing for agit rebase --autosquash
.git big-file [HEAD [<treshold>]]
Find large git objects.<treshold>
is in MB and the default is 0.1.git branches-that-touch <path>
Searches branches that touch files under<path>
, that are remote and unmerged.git longest-message [<branch>]
Displays 5 of your commits with most words per commit message body.git overwritten [--[no-]color] [<head=HEAD>] [<base=origin>]
Aggregates git blame information about original owners of lines changed or removed in the<base>...<head>
diff.git promote [<remote>[/<branch>]]
Publishes the current branch on a remote and sets up upstream tracking.git recently-checkout-branches
Shows timestamp and name of recently checked-out branches in reverse chronological order. This is powered by git-reflog, but excludes branches that have since been deleted.git related <file>
Show other files that often get changed in commits that touch<file>
.git resolve
Mark all conflicted files as resolved.git sync
Fetches new objects from origin remote named either "upstream" or "origin", then fast-forwards each local branch that is out of date.git thanks <range>
Show authorship info sorted by the number of commits during<range>
.git unpushed-branches
Show unmerged branches that don't have a corresponding branch on the origin remote.git unreleased
Shows git commits since the last tagged version.git where <ref>
Shows where a particular commit falls between releases.git where-pr <ref>
Opens the Pull Request on GitHub where the commit originated.pr <pr-number> <branch-name> [<remote-name>]
Checks out a Pull Request from GitHub as a local branch.rebase-authors
A filter that annotatesgit rebase -i
input with authorship information to help you avoid squashing commits together that may have been authored by different people.
ansi2html [-w] [--css]
Convert terminal color ANSI escape sequences to HTML.colordump [-b]
Dump a table of ASCII colors to a 256-color compatible terminal. With-b
, switch to outputting background color samples.crlf -i src/*
Convert Windows to Unix line breaks. Use-i
to change files in-place.lineprof
Annotates each line of input with the number of milliseconds elapsed since the last line. Useful for figuring out slow points of output-producing programs.stdev
Calculate mean and standard deviation from a stream of numbers passed as lines of input.
battery
Show MacBook battery level formatted for tmux status bar.wifi-pass
Shows SSID and password for the currently connected network. Requires sudo.
eprime
Highlights usage of the verb "to be" when you're trying to write E-Prime.passive
Highlights possible usage of passive language.weasel
Highlights weasel words (empty words that sound like they have meaning).
tmux-ps <pattern>
Switch to tmux window which hosts the tty that is controlling the process matching .tmux-session
Save and restore the state of tmux sessions and windows.tmux-switch-session [<name>]
Switches to the tmux session that starts with the name given, or to the previously attached session when name is blank.tmux-vim-select-pane
Liketmux select-pane
, but sends a<C-h/j/k/l>
keystroke if Vim is running in the current pane, or only one pane exists.