News for hackers. Stuff that matters.
Re:GNU Readline for Better Productivity on the Command Line by egwynn on Friday November 10, 2017 @11:26AM (#15670936)
My favorite unsung readline default is ctrl-o, for "operate-and-get-next”. If you’ve gone back and found a command from your history, ctrl-o will run it and then tee up the next command. And, if you hit the end of your history, it will cycle back to the point you initially searched to. So if you have a set of a few commands (e.g., foreground your editor, run make, test the results) that you tend to keep repeating, it will replace “up up up enter” with just “ctrl-o”.
Re:GNU Readline for Better Productivity on the Command Line by lathiat on Friday November 10, 2017 @07:43PM (#15674313)
Once a year or so I read one of these articles and figure out how much time I can save (like this Ctrl-O). But I rarely do, I think I need to print out the cheatlist and put it on the wall behind my monitor so I can use them enough to get them into my patterns.
Re:GNU Readline for Better Productivity on the Command Line by tonyarkles on Friday November 10, 2017 @04:12PM (#15673084)
Wow. I don't have enough upvotes! Thanks! That's awesome!
Re:GNU Readline for Better Productivity on the Command Line by marksellers on Friday November 10, 2017 @02:57PM (#15672454)
Please accept my sincerest thanks.