Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ctrl - m t does not toggle output in chrome #1367

Closed
v923z opened this issue Feb 2, 2012 · 2 comments
Closed

Ctrl - m t does not toggle output in chrome #1367

v923z opened this issue Feb 2, 2012 · 2 comments
Milestone

Comments

@v923z
Copy link
Contributor

v923z commented Feb 2, 2012

Hi All,

I think the combination above does not toggle the output in chrome 16, but it opens a new tab instead. It works OK in Firefox 9. Let me know, if more information is needed.

@fperez
Copy link
Member

fperez commented Feb 2, 2012

Actually, in master the toggle output key is actually 'o', because 't' is now used for plaintext cells. Sorry for these changes, but as we settle on the full feature set of the notebook, this churn with keybindings will subside. But it's an inevitable effect of building things incrementally.

But that aside, C-m-t does work as advertised. What opens a new tab is C-m-C-t: you are holding Control throughout the keybinding, which effectively means you are doing control twice. There is a difference between those two things: the first mode, which we support, uses a single modifier only for the 'm' character, and then the bare 't' key. What you are doing actually sends C-t to the browser, and I actually don't think Chrome even allows us to intercept C-t (Chrome is very aggressive in not allowing certain kebindings to be intercepted).

So I'm closing this as things are working as advertised and in the only way we can make them work reliably given how browsers operate. Sorry if your muscle memory wants you to keep the Control key held down, but that's just the way things are. As you can see in Emacs, for example, many actions are drastically different if you hold Control through both keystrokes than if you only use it for the first. We have the exact same pattern here.

@fperez fperez closed this as completed Feb 2, 2012
@v923z
Copy link
Contributor Author

v923z commented Feb 2, 2012

Oh, sorry! When posting, I still had the older version, where toggling the output was 't'. Then this issue should indeed be closed.

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

No branches or pull requests

2 participants