Is there an equivalent in the IDLE ide for python to Ctrl+R in bash, where you type a part of the line, and it matches it against the history of already entered lines?
相关问题
- QML Keyboard Shortcuts are interfering with Key On
- Shortcut for extract local variable in Visual Stud
- ProcessCmdKey analog in WPF
- Is there a keyboard shortcut to quickly find and o
- Define key-bindings in emacs
相关文章
- Why does IDLE 3.4 take so long on this program?
- NSMenuItem KeyEquivalent “ ”(space) bug
- Reset bash history search position
- How do I use a shortcut to comment out code automa
- Visual Studio 2012 debug tests keyboard shortcut
- eclipse key bindings everywhere
- Moving focus to next tab group in Visual Studio 20
- Shortcut to close all opened files in IntelliJ
This is not as good as Ctrl+R, but you can type some of the starting text, and then press Alt+P.
So if you type
for
and then press Alt+P, it will find the last line that starts withfor
, if you press it again, it will find the next-to-last line that starts withfor
, and so on.This only allows you to search for lines starting with the text, however, while Ctrl+R allows you to find lines containing the text anywhere in them.