You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As stated in documentation, ]] should jump to next header of same level.
Although not stated explicitly, I would assume that it jumps to the next upper level, if there is no same level. In contrast the current implementation jumps to a more nested layer which IMHO is not the desired behaviour. This is even more confusing if that level three is folded (not visible).
Use ]] on LEVEL 1.2 jumps to LEVEL 1.2.1, but not to LEVEL 2 as I would expect.
If any case, documentation should express the designed behaviour explicitly.
I am using current master (v0.6.0-28-gc6cd668).
The text was updated successfully, but these errors were encountered:
doak
changed the title
Unexpected behaviour when jumping to next header (]])
Unexpected behaviour when jumping to next header
Feb 9, 2020
As stated in documentation,
]]
should jump to next header of same level.Although not stated explicitly, I would assume that it jumps to the next upper level, if there is no same level. In contrast the current implementation jumps to a more nested layer which IMHO is not the desired behaviour. This is even more confusing if that level three is folded (not visible).
Please consider the following example:
Use
]]
onLEVEL 1.2
jumps toLEVEL 1.2.1
, but not toLEVEL 2
as I would expect.If any case, documentation should express the designed behaviour explicitly.
I am using current master (
v0.6.0-28-gc6cd668
).The text was updated successfully, but these errors were encountered: