Repository navigation
Editing text files
marcelo edited this page Aug 15, 2026
·
1 revision
X-Files has a built-in text editor — you can read and edit text files on the couch with just the gamepad.
- Browse to a text file (
.txt,.md,.log, code files, and many more). - Press Y → Edit (or the edit action shown in the preview).
The editor opens fullscreen.
- Press A (or the button shown) to enter input mode — this opens the on-screen keyboard.
- Type with the keyboard. The console keyboard works with the gamepad natively.
- When you're done typing, close the keyboard to go back to navigating the document.
| Button | What it does |
|---|---|
| D-pad up / down | Move the cursor line by line |
| D-pad left / right | Move the cursor by character |
| A | Enter input mode (keyboard) |
| B | Exit input mode / back to file list |
| Start | Save the file |
Press Start → Save. If you made changes and try to leave without saving, X-Files asks you to confirm — you won't lose your work by accident.
X-Files handles text files in three tiers depending on size:
- Small / medium files — full editing with syntax highlighting.
- Large files — editing still works, highlighting is turned off to stay fast.
- Very large files — read-only; open in the preview instead.
X-Files detects the file's encoding automatically (UTF-8, UTF-16, and common Windows encodings) and preserves it when you save. Files with a BOM keep their BOM, and line endings are kept as they were.
Create a new empty file from the file browser context menu (Y → New File), then open it and start typing.