0

When using multiple cursors for structural editing of org mode trees: org-metadown, org-metaleft and org-metaright function for all cursors, but org-metaup has no effect.

For example, if I have four headings, put cursors on the middle two, then M-<up> results in no change, whereas M-<down> results in the second and third headings moving down to positions three and four, i.e. M-<down> turns...

  • one
  • two
  • three
  • four

into...

  • one
  • four
  • two
  • three

Troubleshooting:

meta-up, meta-down, meta-left and meta-right are all in .mc-lists.el under (setq mc/cmds-to-run-for-all...). None of these commands are present elsewhere in multiple-cursors-core.el: neither in mc--default-cmds-to-run-for-all, nor mc--default-cmds-to-run-once.

I've tried removing the commands from .mc-lists.el and having multiple cursors add them back to .mc-list.el the next time I used the commands, but the errant behaviour of org-metaup persisted.

How can I fix this?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.