Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fakerr/goto
Navigate long command lines using a minimalistic char-based decision tree.
https://github.com/fakerr/goto
bash command-line shell terminal
Last synced: 5 days ago
JSON representation
Navigate long command lines using a minimalistic char-based decision tree.
- Host: GitHub
- URL: https://github.com/fakerr/goto
- Owner: Fakerr
- License: mit
- Created: 2017-04-01T17:14:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-07T16:45:46.000Z (over 7 years ago)
- Last Synced: 2024-02-14T21:38:05.465Z (9 months ago)
- Topics: bash, command-line, shell, terminal
- Language: Shell
- Homepage:
- Size: 10.7 KB
- Stars: 114
- Watchers: 7
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Goto
> Navigate long command lines using a minimalistic char-based decision tree.
![git recall](http://imgur.com/QirIcgE.gif)
## Introduction
`Goto` is a program for jumping between command lines characters using a simple char-based decision tree.
This is particulary usefull when you have to deal with long command line, or to avoid the frustration caused by latency when you want to move
your cursor while being on remote system.## Installation
Clone this project (or just copy goto.sh content somewhere)
```sh
$ git clone https://github.com/Fakerr/goto.git
```
then add the following to your `.bashrc` (or `.profile` on Mac):```sh
if [[ -s "$HOME/path/to/goto.sh" ]]; then
source "$HOME/path/to/goto.sh"
fi
```
## Usage##### Key bindings:
- Ctrl-k : enter goto mode from where you can select the character you want to jump to.
- ESC : exit goto mode.If you want to change the default key to enter goto mode, you can set to `GOTO_KEY` your desired key and then source your `.bashrc` or `.profile`.
## Requirements
- OS: Linux or OSX
- Bash 4.3 or more## Contribution
Pull requests are welcome, along with any feedback or ideas.## Prior Art
- [`Vim-easymotion`](https://github.com/easymotion/vim-easymotion)
- [`Avy`](https://github.com/abo-abo/avy)## License
Copyright Walid Berrahal. Licensed under MIT.