vim-orgmode icon indicating copy to clipboard operation
vim-orgmode copied to clipboard

Creating header deletes content

Open doak opened this issue 5 years ago • 1 comments

Creating a header below current one ([Shift]+[Return], <LocalLeader>hh) deletes all content if the next header is nested deeper. If there are some content below the next header, only that content will remain.

Consider the following example:

* LEVEL 0
* LEVEL 1
** LEVEL 1.1
*** LEVEL 1.1.1
** LEVEL 1.2
*** LEVEL 1.2.1
*** LEVEL 1.2.2
* LEVEL 2
** LEVEL 2.1
** LEVEL 2.2
* LEVEL 3

Adding a header below fails for the following headers:

  • LEVEL 1
  • LEVEL 1.1
  • LEVEL 1.2
  • LEVEL 2

I am using current master (v0.6.0-28-gc6cd668).

doak avatar Feb 09 '20 13:02 doak

Experiencing the same issue...

fancsali avatar Mar 10 '23 15:03 fancsali