Issue
I had a hard time figuring the keyboard shortcut.
Is that true that I should press Ctrl-m
together and press the other key such as d
to delete one cell? I tried it but it did not work for me I also tried without -
but it still does not work for me :(
I am using a Mac.
Solution
You have to first toggle the right cell state.
The newer version of IPython revamped the command structure, so that cells have two states: input mode, when the cell has a green outline, and command mode, when the cell has a grey outline.
When its green you can edit the content and run it. When its grey you can use the delete insert cell or copy commands.
Hitting Enter or Return activates the green state, while using Esc activates the grey state.
For example:
To delete a cell, use Esc to go in command mode, like the grey outlined cell below, and simply press the d key twice.
Answered By - agconti
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.