/ ^\(dbn.py\)\@!
Matches the first line that does not start with text inside chamfered brackets.
If you need quick access to this, you can add a vmap that grabs the visually selected text and inserts it in the right place (but first avoiding it with escape(var, '/') .
Try this vmap: vmap <leader>n "hy<Esc>/^\(<CR>=escape(@h,'/')<CR>\)\@!<CR>
Press n when visually select the text you want to skip, and you should be placed on the next first line, which does not start with highlighting.
source share