Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Key binding Conflict Copy command #4

Open
dataecstasy opened this issue Dec 25, 2017 · 5 comments
Open

Key binding Conflict Copy command #4

dataecstasy opened this issue Dec 25, 2017 · 5 comments

Comments

@dataecstasy
Copy link

Hi All,
I am facing this issue while pressing Ctrl-C in the Atom editor. Kernel interruption custom key binding conflicting with the copy command.
Please suggest something simple to circumvent this.

image

Thanks,
Vishal

@saeidamiri1
Copy link
Owner

Hi thanks, Rbox was deployed using Hydrogen 1.22, the current version of Hydrogen is 2.2.0.
We will update Rbox soon.
The new shortcut for "Kernel interruption" is Shift-Ctrl-Q.

@dataecstasy
Copy link
Author

Thanks.
Though can you also provide one-liner what kernel interruption would do in this case.
Also, Ctrl-C would be the copying shortcut even when hydrogen 1.22 was used.

@saeidamiri1
Copy link
Owner

The "kernel interruption" is very important in programming, because you can stop running the code. To interrupt R's code under Mac's terminal, we use "Ctrl-C" which we also use under Rbox.

I have not seen such problem. First update your kernels, http://jupyter.org/install.html and irkernel (Kernel for R), if it does not solve the problem, report the problem to the Hydrogen's developers "https://atom.io/packages/Hydrogen".

@dataecstasy
Copy link
Author

Thanks for the update.

I've updated the kernel and IRKernel for R and it is helping me run the R code on atom without affecting my regular python work.

It's just I had to uninstall Rbox and do that.
Please keep posting once you redeploy rbox on latest hydrogen version.
Meanwhile, any comprehensive link for Rbox and it's usage will be good to have.

Appreciate your help.

@Kabouik
Copy link

Kabouik commented Mar 15, 2018

Ctrl+C is also conflicting with copy to clipboard on my machine. It does interrupt computation (I just tried a dummy plot with millions of points and interrupted it). The second post above says that it should be done by Ctrl+Shift+Q instead of Ctrl+C in the updated version of Rbox, or did I misunderstand? I installed Rbox, Jupyter and irkernel yesterday so I think they are up to date, running everything on Linux.

I know shortcuts can be edited in Atom, but it might be better to keep the default action for Ctrl+C in Atom regardless of Rbox, since it is one of the most used and widespread shortcuts (I am used to using Ctrl+C for interruption in the Linux terminal, and using Ctrl+Shift+C instead when I want to copy, but I think it should be different in an IDE, plus the replacement Ctrl+Shift+C doesn't copy to clipboard in Rbox at the moment).

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

No branches or pull requests

3 participants