3 # Based on https://vim.fandom.com/wiki/Move_to_next/previous_line_with_same_indentation
5 export def Do(step: number, diff: number)
10 while (l > 0 && l <= last)
12 if (strlen(getline(l)) == 0) | continue | endif
15 ((diff == 0) && (lin == cin)) ||
16 ((diff == 1) && (lin > cin)) ||
17 ((diff == -1) && (lin < cin))