joouha / euporie

Jupyter notebooks in the terminal
https://euporie.readthedocs.io
MIT License
1.55k stars 36 forks source link

Gnome-terminal shortcuts #13

Closed evan54 closed 3 years ago

evan54 commented 3 years ago

Do you know how to get cltr+enter and cltr+shift+enter to work in gnome-terminal?

seems I need to do something like this but not sure what I'm looking for https://github.com/joouha/euporie#key-remapping

I confirmed that all three enter, cltr+enter and shift+cltr+enter return the same thing by running showkey -a and they all return ^M or the 0x0d which is the \r character

joouha commented 3 years ago

Hi

I'm afraid I can't find a way to do this in gnome-terminal. You can use Ctrl+r to run cells instead.

evan54 commented 3 years ago

cool that worked instead of ctrl+enter, any idea how to get cltr+shift+enter?

joouha commented 3 years ago

I've added this in 0.1.12. I've made the fallback shortcuts match those used in nbterm for consistency, so if you update to 0.1.12 you can use the following:

Key Binding Command
ctrl-e Run cell
ctrl-r Run then select next cell