Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
antoineMoPa
on Jan 21, 2018
|
parent
|
context
|
favorite
| on:
More Things I Wish I’d Known About Bash
"Sigh. Hit ‘up’, ‘left’ until at the ‘p’ and type ‘e’ and return.". My solution for this one would be :
UP CTRL-A RIGHT RIGHT e
Which needs less thinking and 6 keystrokes instead of 8.
hiq
on Jan 21, 2018
|
next
[–]
I don't like to use arrow keys, and on my system the following works: CTRL-P CTRL-A CTRL-F CTRL-F e I also prefer this to the solution in the article.
chrissoundz
on Jan 22, 2018
|
parent
|
next
[–]
Potentially of interest:
https://github.com/Fakerr/goto
sort of like the easymotion vim plugin.
Domenic_S
on Jan 21, 2018
|
prev
|
next
[–]
Even better:
https://github.com/nvbn/thefuck
cryptonector
on Jan 22, 2018
|
prev
[–]
But that requires modifiers. Insert modal vs. not flame war.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
UP CTRL-A RIGHT RIGHT e
Which needs less thinking and 6 keystrokes instead of 8.