3 ms·
"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
by antoineMoPa 9y ago
"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.
- Domenic_S 9y agoEven better: https://github.com/nvbn/thefuck https://github.com/nvbn/thefuck
- hiq 9y agoI 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 9y agoPotentially of interest: https://github.com/Fakerr/goto https://github.com/Fakerr/goto sort of like the easymotion vim plugin.
- cryptonector 9y agoBut that requires modifiers. Insert modal vs. not flame war.