marimo-team / marimo

A reactive notebook for Python — run reproducible experiments, execute as a script, deploy as an app, and version with git.
https://marimo.io
Apache License 2.0
5.33k stars 156 forks source link

Multiple cells actions #1614

Open metaboulie opened 2 weeks ago

metaboulie commented 2 weeks ago

Description

Select multiple cells and run cell actions altogether, such as moving up / hide etc.

Suggested solution

Add a checkbox or something between the Create cell above and Create cell below button

Screenshot 2024-06-13 at 16 38 17

Alternative

No response

Additional context

No response

akshayka commented 2 weeks ago

Great idea!

Instead of a checkbox, it would be nice to be able to drag and select multiple cells with your cursor. Once multiple cells were selected, then ...

  1. clicking and dragging in the selection area would move the cells up/down
  2. cell hotkeys like hide code, etc would be applied to each cell in the selection group