Skip to content

Suhaas-code/shortcuts-cmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shortcuts

Shortcuts

Your personal keyboard-shortcut cheat sheet, one command away, in every shell

one-line install · edit in your own editor · consistent output everywhere · zero runtime deps

Dependencies: none Windows Bash / zsh WSL + Git Bash MIT

Installation · Quick example · Commands · Customization · Docs


Introduction

You're in the middle of a task when your mind blanks on a shortcut. Split a pane. Jump to the end of a line. Search scrollback. Instead of staying in flow, you leave the terminal to search the web, or dig through notes or worse ask your AI, and the interruption costs more than ease the shortcut ever provided.

shortcuts keeps what you need where you work. One command prints your personal cheat sheet in a clean, aligned, colored layout; another searches it; another opens it in your editor. Keep shortcuts, notes, IPs, or plaintext passwords anything you want a glance away in your CLI.

Powered by a single plain-text file and one lightweight script per platform, it works identically across PowerShell, cmd, Linux, macOS, WSL, and Git Bash. Fully offline, zero dependencies, and updates only when you ask.

Installation

Windows (PowerShell):

irm https://github.com/Suhaas-code/shortcuts-cmd/releases/latest/download/install.ps1 | iex

Linux · macOS · WSL · Git Bash:

curl -fsSL https://github.com/Suhaas-code/shortcuts-cmd/releases/latest/download/install.sh | bash

The installer puts shortcuts on your PATH and seeds a default list matched to your environment. Open a new terminal, or run the one-liner it prints to use it in the current shell. Re-running is safe - it never overwrites your edits.

→ Full details, uninstalling, and file locations: docs/installation.md.

Quick example

> shortcuts

=== Panes ===
Alt + Shift + +           Split pane
Alt + Shift + -           Split pane horizontally
Alt + Arrow Keys          Move focus between panes
...

> shortcuts search pane
=== Panes ===
Alt + Shift + +           Split pane
...

> shortcuts edit
Opening shortcuts in the default editor...

Commands

Command What it does
shortcuts Print your shortcuts
shortcuts search <term> Filter shortcuts by keyword
shortcuts edit Open your shortcuts in your editor
shortcuts path Print the data file path
shortcuts reset [-y] Restore the default shortcuts
shortcuts update Update the shortcuts script itself
shortcuts version Neofetch-style banner: version, environment, counts
shortcuts uninstall [-y] Remove shortcuts completely (script, config, PATH)
shortcuts help Show help

Customization

Run shortcuts edit and make it yours. The data file is plain text — # for a section, a Tab between a key and its description, and `backticks` to highlight individual keys:

# Git
`git` `st`      status
`git` `co`      checkout

It also understands a Markdown-lite subset (## sub-headings, **bold** / *italic*, --- rules), per-file color themes via // color lines, and // ansi = off to strip all styling for SSH/WSL sessions.

→ Format reference: docs/customization.md · Colors: docs/colors.md

Documentation

License

MIT — see LICENSE.

About

A simple place to look for your shortcuts

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors