fakerr / goto Goto Github PK
View Code? Open in Web Editor NEWNavigate long command lines using a minimalistic char-based decision tree.
License: MIT License
Navigate long command lines using a minimalistic char-based decision tree.
License: MIT License
Since bind command is a bash command you would be not able to use goto with zsh or even sh.
Great idea, but zsh support doesn't seem to be there at this moment.. any possibility of supporting zsh in the future?
If bash is in vi mode (set -o vi), then whenever the I jump to a new character a "^A" is inserted after the old cursor position.
Using bash version 3.2.20(1)-release (x86_64-pc-linux-gnu)
It seems to be a typing error here (git-recall.git instead of goto.git )
Clone this project (or just copy goto.sh content somewhere)
$ git clone https://github.com/Fakerr/**git-recall.git**
When I press \C-k
on my keyboard, I get the error:
-bash: bash_execute_unix_command: cannot find keymap for command
I am running:
GNU bash, version 4.4.19(1)-release (x86_64-apple-darwin17.3.0)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
I installed this version of bash using homebrew
I am running this in iTerm2 and don't have any special iTerm settings involving keymaps
Any idea what could be causing this problem?
Bash (a GNU project) uses key bindings based on Emacs (a GNU project). Ctrl+K is a very commonly used Emacs (and therefore, Bash) keyboard binding to kill text from point/cursor to the end of the line. So the default of binding "goto" being Ctrl+K is a terrible, terrible idea. :(
Ace-jump, which provides similar functionality for Emacs, and which is fairly well known, defaults to C-c SPC
as a default for jumping to the first character of a word and C-u C-c SPC
for jumping to an arbitrary letter (which is what "goto" does, IIUC).
I would suggest Ace-jump's defaults would be a significantly better default for "goto".
(Perhaps you could even add a just-to-first-char-of-word mode?)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.