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

Add an x on the left too #331

Closed
dpsanders opened this issue Aug 31, 2020 · 11 comments
Closed

Add an x on the left too #331

dpsanders opened this issue Aug 31, 2020 · 11 comments
Assignees
Labels
almost closed frontend Concerning the HTML editor

Comments

@dpsanders
Copy link

It is annoying to have to move the pointer all the way to the other side of the cell to delete it.
Could there be an x in the left margin too?

@fonsp
Copy link
Owner

fonsp commented Sep 1, 2020

Would a keyboard shortcut also make you happy?

@fonsp
Copy link
Owner

fonsp commented Sep 1, 2020

It's Ctrl+Shift+Delete right now I think but on Firefox that doesn't work :(

@dpsanders
Copy link
Author

A keyboard shortcut would make me happy yes. No Delete key on Mac?

@fonsp
Copy link
Owner

fonsp commented Sep 1, 2020

Right

@fonsp fonsp self-assigned this Sep 1, 2020
@fonsp fonsp added the frontend Concerning the HTML editor label Sep 1, 2020
@fonsp
Copy link
Owner

fonsp commented Sep 2, 2020

The new shortcut is:

Ctrl+A or Cmd+A to select all code
Backspace or Delete to delete the code
Backspace or Delete again to delete the cell and move focus to the previous/next cell

@fonsp
Copy link
Owner

fonsp commented Sep 2, 2020

I will release the update soon :)

@fonsp
Copy link
Owner

fonsp commented Sep 2, 2020

@dpsanders Close this issue if you are happy with the new shortcuts :)

@dpsanders
Copy link
Author

I personally don't actually like this. I tend to press backspace many times to delete stuff...

@ixzh
Copy link

ixzh commented Sep 5, 2020

Yeah.had three four cells gone before I realised this change.

Maybe need some time to adjust to it. But the old SHIFT+DEL was quite safe, though not as convenient.

@cmcaine
Copy link

cmcaine commented Sep 6, 2020

A vim-inspired workflow might be to type ctrl-o to enter "normal (cell) mode" for one operation, then type Del or Backspace. This extends to other things, like ctrl-o UpArrow to move to the previous cell or whatever.

Ctrl or Shift-del or Shift-BS would work for me, too and I think I tried them when I was using Pluto, so they might even be discoverable for some users.

@fonsp
Copy link
Owner

fonsp commented Sep 15, 2020

Adding a duplicate button goes against Pluto's design philosophy, and the original issue (too cumbersome to delete a cell) was solved by the new backspace behavior.

Let's continue the criticism/alternatives to this new behavior in #408

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
almost closed frontend Concerning the HTML editor
Projects
None yet
Development

No branches or pull requests

4 participants