Viewer and Quick View
Press F3 to look at a file inside 2fip, without starting another app, like Total Commander’s Lister. Esc goes back to the panels.
What F3 shows
- Text files (code, logs, settings, CSV…) as text. Small files can be selected and copied (Ctrl+C).
- Images (PNG, JPEG, GIF, WebP, BMP, SVG), fitted to the window.
- Big files open at once, even several GB: 2fip only reads the part on the screen.
- PDFs, videos, documents and other files with an app of their own open in that app, as before. Files that no app opens are shown as hex.
Alt+F3 always uses the built-in viewer, also for those files (as hex).
Files on a server or inside an archive work too: 2fip downloads or extracts them first.
Keys in the viewer
| Key | Action |
|---|---|
| Esc | Close the viewer |
| N / P | Next / previous file of the panel |
| 1 / 2 / 3 | Text / hex / image |
| W | Wrap long lines on / off |
| F3 / Shift+F3 | Find next / previous (type the text in the Find box first) |
| ↑ ↓ Page Up Page Down Home End | Scroll (big files and hex) |
| + / - / 0 | Zoom in / out / fit (images) |
The toolbar has the same actions, plus Open with default app.
Search ignores upper and lower case. In big files it runs in the background and jumps to the match, highlighted.
Quick View
Ctrl+Q (or View → Quick View) turns the other panel into a viewer for the file under the cursor: move through the files and the preview follows. Press Ctrl+Q again to get the panel back.
In 2fip 0.2.11 and earlier, Ctrl+Q closed 2fip. Now it is Quick View, as in Total Commander; quit with Alt+F4 or File → Quit.
Editing (F4)
- F4 opens the file in your text editor. Choose which one in Settings → Programs → Editor (F4); by default it’s the system’s.
- Shift+F4 (or File → New File) asks for a name, creates an empty file in the panel’s folder and opens it in the editor.
- Files on a server: 2fip downloads a copy and opens it. Each time you save in the editor, 2fip uploads it back to the server and says so at the bottom of the window. This lasts while the connection is open.
- Files inside an archive open as a copy: changes stay in the copy, not in the archive.