Cursor wasn't moving when inserting a file, resulting in being not at the end of the filename when inserting the file. This fixes it by moving the cursor to the end of the file + one trailing space. Example screenshot after selecting a file when typing `@` <img width="823" height="268" alt="image" src="https://github.com/user-attachments/assets/ec6e3741-e1ba-4752-89d2-11f14a2bd69f" />