Skip to content

Feature request: Toggle line numbering for multiline cells in iPython shell #13965

@cohml

Description

@cohml

With Vi mode enabled, ngg will move your cursor to the nth line in the cell.

This could be very useful for longer cells, but without line numbers visible, it's difficult to move precisely.

So the ability to toggle dynamic line numbering would be super helpful. For example, like this:

1 | In [5]: """
2 |    ...: This
3 |    ...: is
4 |    ...: a
5 |    ...: multiline
6 |    ...: string
7 |    ...: """

Bonus points for a relative numbering as well, but one thing at a time ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions