Ctrl-C when nothing selected clears clipboard


Is there a setting that disables the effect that Ctrl-C when nothing is selected clears the clipboard contents? I have about a 75% success rate hitting Ctrl-V when I intend to paste and in those 25% of error cases, I often hit Ctrl-C and lose the content I was trying to paste. I would prefer that if nothing is selected, Ctrl-C doesn’t do anything. Thanks,



In which application is this? Jupyter Lab or Jupyter notebook?


This is in Jupyter Lab.



Maybe @saulshanabrook or @jasongrout have an idea


A small item of color. I thought this might be a Chrome or even an OS issue so I tried Ctrl-C on a couple non-Jupyter Lab web pages (including traditional Jupyter Notebook) and Ctrl-C when nothing is selected did not clear the clipboard. I also tried in a handful of desktop apps and these also did not clear the clipboard. My conclusion is that there is a setting specific to Jupyter Lab causing this.



Can you open an issue in JupyterLab at https://github.com/jupyterlab/jupyterlab/issues/new/choose ? It sounds like we need to do something more to treat this use case.


Done: https://github.com/jupyterlab/jupyterlab/issues/6281