Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New extension to duplicate/delete lines #1413

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dsfulf
Copy link

@dsfulf dsfulf commented Apr 30, 2019

This is a small extension intended to enhance Jupyter Notebook as a text editor. Two new commands are added for edit mode. The keyboard commands are chosen for similarity with Sublime Text and Atom (Ctrl-Shift-D cannot be used as that is the default for adding a bookmark to Chrome).

  • duplicate line : Ctrl-Alt-D : duplicates the current line
  • delete line : Ctrl-Alt-K : deletes the current line

Credit to http://stackoverflow.com/a/40505055/6003870 for the basic code for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant