Indenting
Two keys move lines sideways:
>indents the selected lines by one level<unindents them by one level
A level is whatever the file already uses — Helix looks at the existing indentation when it opens a file, and falls back to the language’s default when there’s nothing to go on. This buffer is indented with four spaces, so that’s what each press adds or removes.
Both keys act on whole lines, so the selection doesn’t have to cover a line
exactly: a bare cursor is enough for one line, and any selection that
touches several lines indents all of them. Both also take a count, so 3>
indents three levels at once.
Work through the checklist below to fix the two lines that are out of place, then shift the whole buffer and shift it back.