Is there a built-in command to delete the contents of a cell in a single keystroke within an org-mode table? Note, I don't want to delete the row, just the cell contents.
| some text | ==> | |
If not, how would you write this?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityorg-table-blank-field
, present in the “Tbl” menu.
It used to be bound to C-c SPC
, but version 9.5 removed that default binding.
It's been around at least since version 6.01 in 2008, but for some reason it was only added to the manual as a consequence of this question.
org-table-blank-field
will clear the current line in a cell, but if the cell has multiple lines, it will still only affect the current line
C-SPC
, move the cursor, and use this command to clear a range of rows and/or columns in one go.
Nov 13, 2019 at 18:52
org-table-blank-field
as already said, but also if you move to the cell with TAB
, then typing will clear the cell content and replace it with what you type.