-
Notifications
You must be signed in to change notification settings - Fork 0
File and Buffer Management
Tuim provides straightforward file exploration, buffer switching, and project-wide searching. Even in environments where third-party plugins are disabled or unavailable, Tuim's built-in buffer controls keep you productive.
Open the Explorer by clicking Explorer in the sidebar or via the F1 command palette:
- Navigating the Tree: Use โ / โ or j / k to move between files and directories.
- Expanding / Collapsing: Press Enter or click a folder to toggle its contents.
- Opening a File: Press Enter or click a file to load it into the active editor split.
- Collapsing the Sidebar: Press Ctrl+E (or Alt+E in the Vim-safe preset) to toggle the sidebar view.
You can create a new file from any editing mode:
- Press Ctrl+N (or open F1 โ New file).
[!NOTE] When the bottom terminal panel is focused, Ctrl+N is passed to the shell/terminal mode. To create a file while in the terminal, use F1 โ New file or switch focus with F6.
- Begin typing immediately.
- On the first save (Ctrl+S), Tuim presents a prompt:
Save file as: [src/utils.zig ] (Enter to save, Esc to cancel) - Enter the filename or relative path and press Enter.
- Pressing Esc cancels the naming prompt safely without discarding any typed text.
Tuim includes a native, plugin-independent Switch buffers dialog:
- Open F1 โ Switch buffers.
- Displays all open buffers, their relative paths, active/inactive state, and modification markers (
[+]). - Fuzzy filter buffers by typing.
- Use arrows and Enter to jump to the selected buffer.
- Works in Zen mode, narrow terminals, and recovery mode without requiring Telescope.
- Open F1 โ Close buffer.
- Closes the active buffer. If the buffer has unsaved changes, Tuim prompts you to save or discard before closing.
Tuim integrates Telescope and ripgrep for lightning-fast project navigation:
- Press Ctrl+P or
<Space> f f. - Type any part of a file path to fuzzy search across the workspace.
- Results display the filename first followed by its parent directory path.
- Preview panel appears on wide terminals, showing the file content at your cursor.
- Press Alt+G or
<Space> f g. - Search text across the entire repository using ripgrep.
- Jump directly to matching lines and columns.
| Shortcut | Action |
|---|---|
| Ctrl+N / Ctrl+P | Move to next / previous search result |
| Enter | Open selected result in editor |
| Tab | Multi-select / mark entry |
| Alt+P | Toggle preview window |
| Esc | Close picker immediately (single press) |
Learn how to interact with the shell and copy terminal text in Integrated Terminal.
Tuim Repository ยท Releases ยท Issue Tracker ยท Website ยท Licensed under MIT
- Workspace Overview
- Editing Modes
- Keybindings & Shortcuts
- File & Buffer Management
- Integrated Terminal
- Git Integration
- Extensions & Plugins
- Language Tools & LSP
- AI Coding Assistants