IPython Notebook keyboard shortcut search for text

2019-02-21 18:01发布

Is there a keyboard shortcut to search for text in an IPython Notebook?

I looked under Help | Keyboard shortcuts and there are lots of cool shortcuts but none for searching for text?

enter image description here


The notebook is running in FireFox on Ubuntu.

2条回答
太酷不给撩
2楼-- · 2019-02-21 18:36

:Embarassed: "Running in" means use the browser "find text on this page" shortcut. Firefox shortcut for this is ctrl - F.

查看更多
唯我独甜
3楼-- · 2019-02-21 18:59

There is a find-and-replace command in Jupyter. It's key binding is F (command mode):

enter image description here

Of course you can find text with the browser's functionality, (I find it sometimes better), but the command in Jupyter is also very useful. I use a lot that function Replace in selected cells when I copy-paste a bunch of code and then change variables or something like that:

enter image description here


(Note: You can launch the Command Palette with shift+ctrl+P, and browse or run other commands)


查看更多
登录 后发表回答