obnomus@lemmy.ml to linuxmemes@lemmy.worldEnglish · 3 days agoNoicelemmy.imagisphe.reimagemessage-square112linkfedilinkarrow-up1470arrow-down111
arrow-up1459arrow-down1imageNoicelemmy.imagisphe.reobnomus@lemmy.ml to linuxmemes@lemmy.worldEnglish · 3 days agomessage-square112linkfedilink
minus-squareprintf("%s", name);@piefed.blahaj.zonelinkfedilinkEnglisharrow-up59·3 days agoYou just blew my mind. sudo [space] [shift] !! [enter] (4+1+1+1+1+1) is one keypress longer than ↑ + home + sudo + space + enter (1+1+4+1+1). In your face, universe.
minus-squareLogi@lemmy.worldlinkfedilinkarrow-up12·3 days agoIf you have an actual home key. If it’s ctrl+a or (IIRC, AFK) ctrl+← then we’re even. And if we track hand movements then pressing ! twice may be faster than moving to another key. But yeah, it’s not at all clear that sudo !! is faster like you’d expect it to be.
You just blew my mind.
sudo [space] [shift] !! [enter](4+1+1+1+1+1) is one keypress longer than↑ + home + sudo + space + enter(1+1+4+1+1). In your face, universe.If you have an actual home key. If it’s ctrl+a or (IIRC, AFK) ctrl+← then we’re even.
And if we track hand movements then pressing ! twice may be faster than moving to another key.
But yeah, it’s not at all clear that
sudo !!is faster like you’d expect it to be.