# RZF - The Ultimate Terminal File Explorer and Search Tool
Welcome to **RZF**, the most powerful, fast, and versatile terminal-based file explorer and search utility designed for every terminal warrior. Built with performance in mind, leveraging C's maximum efficiency, RZF is your go-to tool for managing and navigating millions of files seamlessly.
Development is mostly done manually, but later completed and refactored with several LLM's (Gemini Pro, ChatGPT Plus and Claude Pro).
| **Ctrl+P** | Toggle preview mode to view file contents or directory listing |
| **Ctrl+S** | Toggle bookmark for selected file |
| **Ctrl+F** | Show only bookmarked files |
| **Ctrl+R** | Search history navigation |
| **Ctrl+E** | Toggle regex search mode |
| **?** | Show help menu with all shortcuts |
| **Ctrl+C / Esc** | Exit the application |
---
## Tips & Recommendations
- **Installation**:
- Copy the binary to `/usr/local/bin` for easy global access:
```bash
sudo cp rzf /usr/local/bin/
```
- Add a bash shortcut for quick launching:
```bash
bind -x '"\C-f": rzf'
```
- **Performance & Compatibility**:
- The binary is statically compiled, ensuring maximum compatibility and performance.
- It should work on most Linux distributions out-of-the-box.
- If you encounter issues or want to compile manually:
- Remove the `-static` parameter in the Makefile.
- Ensure `ncurses-dev` is installed (`sudo apt install libncurses-dev`).
- **Development Setup**:
- Setting up the environment is a breeze and can be done within 5 minutes.
- The code is manually written to optimize performance and usability.
- **Use Cases**:
- Perfect for developers, sysadmins, and terminal enthusiasts.
- Ideal for managing large codebases, quick file access, and integrating with LLMs.
- The copy-to-clipboard feature (`Ctrl+Y`) makes it easy to extract snippets or file contents for sharing or AI processing.
- Backup files instantly with `Ctrl+B` — a lifesaver when experimenting or editing.
---
## Why RZF?
- **Performance**: Fully utilizes C's speed to handle millions of files effortlessly.
- **Safety**: Recursive delete with confirmation, safe backups, and manual code ensure reliability.
- **Convenience**: All essential features are accessible via intuitive shortcuts.
- **Portability**: Static binary means no dependencies or complex setup.
- **Manual Craftsmanship**: A lot of the code is handcrafted to deliver a polished, efficient experience. Unlike this README.md :P
---
## Final Notes
This project is the culmination of meticulous manual coding, optimized for speed, safety, and user experience. It’s a big time-saver and a powerful addition to any terminal user’s toolkit. Whether you're navigating vast codebases or managing files on a server, **RZF** is your ultimate terminal companion.
---
## Support & Feedback
While I believe the application is now feature-complete and polished, I am always available for support and feedback. Feel free to reach out for assistance or suggestions.
---
Enjoy your terminal mastery with **RZF** — the ultimate tool for every terminal warrior!