问题
I know there is the shortcut ctrl + w in visual studio for selecting current word.
Is there a shortcut or an extension for jupyter notebook which does the same?
回答1:
Hah! I found the answer shortly after putting a bounty out. On Chromebook (in Colab) it's CTRL+D. Presumably this works in Jupyter and on Windows also. On Mac it may be CMD+D, but I haven't tried.
The winning tip came from two other answers on keyboard shortcuts in Jupyter:
- Atom/Sublime like Multiple selections in Jupyter
- Google Colab: edit two lines at the same time (block editing)
来源:https://stackoverflow.com/questions/63843035/is-there-a-shortcut-for-selecting-current-word-when-editing-a-cell-in-jupyter-no