jupyterlab_sublime icon indicating copy to clipboard operation
jupyterlab_sublime copied to clipboard

On macOS Cmd+Shift+D duplicates line in a notebook that's not visible

Open piiq opened this issue 3 years ago • 0 comments

Hi 👋

First of all I would like to thank @ryantam626 for this extension. It's a fantastic productivity booster when working in notebooks. I see a problem with Cmd+Shift+D. When I am editing a file in the editor and I press Cmd+Shift+D (duplicate line in sublime) it duplicates a line or a cell in the notebook that was last edited and nothing happens in the editor. I use this shortcut "automatically-by-mistake" even I know it's not available in the text editor.

Steps to reproduce:

  • launch JL with the extension installed
  • open and edit a notebook
  • open a python file in the editor
  • press Cmd+Shift+D
  • switch back to the notebook and see that there is a duplicate of whatever line or a cell that was in focus when you left the notebook

Is this fixable?

piiq avatar Oct 01 '21 12:10 piiq