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?
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?
org-table-blank-field
, bound to C-c SPC
and present in the “Tbl” menu.
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
– Walker
Feb 2 '17 at 18:50
C-SPC
, move the cursor, and use this command to clear a range of rows and/or columns in one go.
– shawkinaw
Nov 13 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.