Shortcuts
November 9, 2025 ยท View on GitHub
A collection of useful shortcuts and productivity tools.
Description
This repository contains various shortcuts, scripts, and productivity tools to help streamline common tasks and workflows.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Feel free to contribute by adding your own shortcuts and tools!
Development Setup
Install pre-commit
This repository relies on pre-commit to format Markdown tables automatically before each commit.
-
Install the
pre-commitpackage (choose one of the following):pip install pre-commitbrew install pre-commitpipx install pre-commit
-
Install project dependencies (once per clone):
npm install -
From the repository root, run:
pre-commit install
After installation, the hooks will align GitHub-flavoured Markdown tables and run markdownlint --fix on every staged Markdown file. If a file cannot be reformatted or linted, the hook will fail loudly so you can address the issue before the commit completes.
Running Hooks Manually
You can invoke the hooks without creating a commit:
-
Run against staged files:
pre-commit run -
Run against every tracked file:
pre-commit run --all-files
Both commands apply the same formatting and linting rules as the commit-time hooks. To target just the Markdown linter, run:
pre-commit run markdownlint