I would like to implement a selection mode, inside which files/directories would be selected when the cursor is moved.
It seems to be a simple loop that handles the up/down keys (j/k) and exits the loop when pressing Esc, but my brain is not enough for this code.