Navigate long command lines using a minimalistic char-based decision tree.
MIT License
Navigate long command lines using a minimalistic char-based decision tree.
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.
Clone this project (or just copy goto.sh content somewhere)
$ git clone https://github.com/Fakerr/goto.git
then add the following to your .bashrc
(or .profile
on Mac):
if [[ -s "$HOME/path/to/goto.sh" ]]; then
source "$HOME/path/to/goto.sh"
fi
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
.
Pull requests are welcome, along with any feedback or ideas.
Copyright Walid Berrahal. Licensed under MIT.