Say I have a hundred commands in my shell's history, and now I'd like to repeat commands 74 through 78. In the emacs mode of bash/ksh/zsh, I would navigate back to command 74 then hit Control-O on each command to execute it and continue with the next. In vi mode I can navigate back to command 74 readily enough, but how do I then execute it and see command 75?
|
feedback
|
|
Press | ||||
feedback
|
|
Try this:
You may be in vi mode. You can add the line above to your Or you can add the following to your
| |||
|
feedback
|