[IPython-dev] available modifier keys

Matthias BUSSONNIER bussonniermatthias@gmail....
Tue Jul 3 02:23:11 CDT 2012

Le 3 juil. 2012 à 08:43, Zoltán Vörös a écrit :

> Hi,
> On 07/03/2012 02:57 AM, klo uo wrote:
>> Don't know what OS you run, but FYI Alt-Enter doesn't seem to do
>> anything on Windows in both Firefox and Chrome.
>>> From the user point of view, your suggestion for executing and
>> appending new cell in one shortcut, looks interesting to me
> But what baffles me is that in ipython, the Alt key is completely 
> missing as a modifier, and thus, I suspect that it doesn't work 
> somewhere. There might be issues on Macs, perhaps?

> Could someone comment on how the shortcuts were ironed out, and what is 
> left for future use?

You have a beginning of answer here :

But basically we would be happy to find a common prefix that works for all platform (combinaison of os/browser/local/keyboard layout) which is quite hard. 
Alt might do the trick in some locals, but it is used for many accentuated letters, I for example use an English Internationnal keyboard to 
write my notebooks in french, and use alt pretty often, that would highly complicate the logics. I don't say that it is not possible neither a bad choice.
Just that you get often edges case that are a pain to deal with.

We would be happy to have a nice map of what can be use in which case, and having configurable keybindigs is one of our goal for both notebook and qtconsole. On can dream of os/browser detection that serve different JS for some case, but we would need much more manpower/tester

I'll should also note that Code Mirror is supposed to also handle a vim mode.

We'll be happy to see a PR to help with any of this.

More information about the IPython-dev mailing list