Implement "operate-and-get-next (C-o)"
See original GitHub issueOne useful feature in bash
is to go back in history, find a command you want to execute, and execute it, loading the next command. This is useful for repeating sequences of related commands that are often repeated together. It’s bound to C-o
in bash
and zsh
(and probably others).
You can see how it works in bash by running:
$ echo "going to tmp"
$ cd /tmp
$ echo "hello, world"
then hit C-p
C-p
C-p
C-o
C-o
C-o
(for a grand total of 6 keystrokes) to run those same three commands again.
Here’s the description from BASH(1)
:
operate-and-get-next (C-o)
Accept the current line for execution and fetch the
next line relative to the current line from the history
for editing. Any argument is ignored.
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
getNext() Linked List - java - Stack Overflow
I am trying to take in a text file and store it into a linked list and I'm trying to access the third...
Read more >Get Next Work feature | Pega Academy
Using the Get Next Work feature, your application can select the next assignment for a user. By choosing the best, most appropriate assignment...
Read more >Product 1 – getNEXT
Managing, producing, review, approval and delivering content is easier than ever. With Content Suite's collaborative workflows, marketing, advertising, ...
Read more >About us - IT Consultants in Melbourne and Sydney - getNEXT
getNEXT is an IT consulting company in Melbourne and Sydney specialising in enriching the value of technology, content and communication. Contact us today!...
Read more >Free SNMP MIB Browser – ManageEngine Free Tools'
SNMP MIB browser is a complete tool for SNMP operation such as GET, Trap, Walk, GETNEXT and Set. You can also add and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
By the way, in iPython 6, I need
For any future searchers, here’s how you can remove IPython’s Control-O handler so that you can get this Control-O goodness:
~/.ipython/profile_default/startup/20-keyboard.py
: