Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattgreen/park.fish
https://github.com/mattgreen/park.fish
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mattgreen/park.fish
- Owner: mattgreen
- License: mit
- Created: 2021-02-20T02:09:50.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-24T02:05:25.000Z (almost 4 years ago)
- Last Synced: 2024-10-06T04:06:50.834Z (4 months ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 16
- Watchers: 5
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# park.fish
`park.fish` lets you park your current command line in a temporary buffer to the side.
It is useful for when you forget a necessary step before the current command you're typing, and you don't want to re-type the current command.
## Example
You finally figure out that perfect commit message, only to realize you need to stage another file. Hit Ctrl-Q to park:
`$ git commit -m "Carefully crafted commit message involving evil race condition` Ctrl-Q
The command line is saved, and cleared, allowing you to stage the file:
`$ git add main.c`Enter
...and then the parked command line is magically restored:
`$ git commit -m "Carefully crafted commit message involving evil race condition`
## Configuration
Send a PR if you want the keybinding to be configurable.## License
MIT