Notebook: Delete shortcut "D,D" does not work on chrome/firefox on mac osx

Created on 26 Sep 2015  Â·  8Comments  Â·  Source: jupyter/notebook

The D,D shortcut specified in the help menu seems to do nothing on chrome and firefox on osx. I have not tested on windows/linux, so it might work there. I am running the following (from notebook help -> about)

Server Information:

You are using Jupyter notebook.

The version of the notebook server is 4.0.4-afa88da and is running on:
Python 2.7.3 (default, Jun 22 2015, 19:33:41) 
[GCC 4.6.3]

Current Kernel Information:

Python 2.7.3 (default, Jun 22 2015, 19:33:41) 
Type "copyright", "credits" or "license" for more information.

IPython 4.0.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.
%guiref   -> A brief reference about the graphical user interface.

The x cut cell shortcut works on both chrome and firefox. If this is what users should use, then we only need to fix the documentation... but it still is a hack and it might remove the last copied cell from the clipboard (without letting the user know).

Most helpful comment

Are you sure you are typing it correctly - the actual keystrokes are d d (no comma char).

All 8 comments

Are you sure you are typing it correctly - the actual keystrokes are d d (no comma char).

Feel like an idiot... I should have tried the dd (duh vim). The comma threw me off.

Hmm. I got stuck on this too. But I don't feel like an idiot. I feel like I've been misled by inadequate documentation. Are there any other characters in the shortcuts that shouldn't actually be typed?

When you see e.g. 'Shift-M', the - shouldn't be typed.

On 29 March 2016 at 10:10, tnearey [email protected] wrote:

Hmm. I got stuck on this too. But I don't feel like an idiot. I feel like
I've been misled by inadequate documentation. Are there any other
characters in the shortcuts that shouldn't actually be typed?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/jupyter/notebook/issues/500#issuecomment-203003575

Fair enough.
But hyphenation is a pretty common convention with “mode keys”, meaning ‘simultaneously pressing the two keys joined by -’ ?
(So common, I didn’t even notice it was there.)
Can the same be said for comma (in the meaning 'sequentially pressing the keys separated by , ‘) in any domain?

On Mar 29, 2016, at 11:47 AM, Thomas Kluyver [email protected] wrote:

When you see e.g. 'Shift-M', the - shouldn't be typed.

On 29 March 2016 at 10:10, tnearey [email protected] wrote:

Terrance Nearey
t.[email protected]

I don't know of many applications that have shortcut sequences like that. Emacs appears to use spaces to separate consecutive parts of a shortcut. Maybe that would be a bit better, but I suspect someone is going to get confused whatever we put.

I got confused too. And I also believe people will get confused by any notation.
I think it should be made explicit in the help page than "X,X" mean "press X two times quickly".

but I suspect someone is going to get confused whatever we put.

I think it's a good idea to just write what you are supposed to do in parenthesis instead of using a shorthand notation like @dionisos2 suggested

Was this page helpful?
0 / 5 - 0 ratings

Related issues

arbaazsama picture arbaazsama  Â·  3Comments

md-jamal picture md-jamal  Â·  3Comments

pylang picture pylang  Â·  3Comments

mmngreco picture mmngreco  Â·  3Comments

cmesro picture cmesro  Â·  3Comments