neorg icon indicating copy to clipboard operation
neorg copied to clipboard

Automatically indent correctly when pasting or moving text

Open jghauser opened this issue 3 years ago • 0 comments

Issues

  • [X] I have checked existing issues and there are no existing ones with the same request.

Feature description

It would be great if indent were corrected when pasting something into a section with a higher or lower level (and the same with moving text, though I personally don't use that much).

For instance:

* heading
** heading2
   some text

should become:

* heading
  some text
** heading2

rather than:

* heading
   some text
** heading

Basically, I would like for neorg to do what already happens now if i go to each pasted line and enter and exit insert mode.

Help

No

Implementation help

No response

jghauser avatar Jul 04 '22 19:07 jghauser