-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
IPython console: bind shortcuts to edit content. #34
Comments
This sounds very reasonable. We're in the process of moving the console into it's own repo and eventually making it a plugin - see https://github.com/napari/napari-console and napari/napari#2118 and so this contribution might happen in the new repo! |
This should probably be transferred to napari/napari-console because I think the PR will belong in that repo, but maybe more visibility here? |
IMHO we should fold napari console back in napari as most issues/PRs there got forgotten. |
@Carreau my understanding from conversations with the core devs is that we rather devolve more things to plugins and try and make napari more lean at the core. Either way, the issue is important, but I'm not sure where the fix lies: napari keybinds or napari-console. |
@Carreau I just launched qtconsole So maybe this issue should be raised in qtconsole itself? |
Maybe, I'm not a frequent user/contributor to decide. I think as a library binding by default is bad practice. but I have no preferences. |
I looked into this on the qtconsole side. I'm not sure why they chose the ones they did... they claim to be:
There was an issue asking about it, but was closed, so seems like a Maybe we should just document them and get used to it? |
🚀 Feature
In the embeded console, most shortcut to clear text (Ctrl-C), delete one word (Ctrl-W), exit (Ctrl-D), force insert a new line (Ctrl-O), search in history (Ctrl-R), have no effects, and should likely be bound sensible default.
Motivation
The console is meant to replicate the IPython interface, and should be familiar to user of IPython and of other text base interface.
Pitch
list typical keyboard shortcuts of bash/ipython and replicate them in the console.
Alternatives
The text was updated successfully, but these errors were encountered: