The solution was unnecessarily over-complicated.
Below one seems simpler and more intuitive. It requires the hydra package.
(defun org-table-mark-field ()
"Mark the current table field."
(interactive)
;; Do not try to jump to the beginning of field if the point is already
there
(when (not
Here's a minor update with a bug fix (to handle the case when the point is
at the end of a table field initially):
(defun org-table-mark-field (n)
"Mark the current table field.
If N is negative, select (- N) fields to the left of the current field,
including the current field.
If N >= 2, selec
Hi all,
At times I need to copy content of the current field or few fields around
the field in the current row. I realized that we do not have a function
that selects fields. We have function that blanks a field but not one that
selects. Please point me to the right function if I missed it.
But a