goto icon indicating copy to clipboard operation
goto copied to clipboard

Default bind is terrible

Open edam opened this issue 7 years ago • 0 comments

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?)

edam avatar Apr 04 '17 00:04 edam