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.
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
).