When using the default ]] and [[ mappings to jump to the next or previous heading, lines in code blocks that start with # are also jumped to.
Given the example below, if the cursor started on the first line and I pressed ]] three times, I would jump to heading one, to the comment in the shell code block, then to heading 2.
Introductory content...
# Heading 1
```sh
# This is some example command:
some_example --command
```
# Heading 2
Yada yada...
When using the default
]]and[[mappings to jump to the next or previous heading, lines in code blocks that start with#are also jumped to.Given the example below, if the cursor started on the first line and I pressed
]]three times, I would jump to heading one, to the comment in the shell code block, then to heading 2.