TerMan is a terminal-inspired text editor and file manager built using the Textual framework. It provides a minimalistic interface for navigating directories, editing files, and executing basic file system commands.
- Directory Tree Navigation: Browse and manage files and directories with a collapsible tree view.
- File Editing: Edit files with syntax highlighting for Python and Markdown.
- Command Input: Execute file system commands directly from the command input bar.
- Keyboard Shortcuts: Perform actions quickly using intuitive keyboard shortcuts.
- File System Monitoring: Automatically refresh the directory tree when changes are detected.
- Customizable UI: Styled with a dark theme for a sleek and modern look.
TerMan supports the following commands:
help
: Display a list of all available commands.q
,Q
,quit
,exit
: Exit the application.touch <file>
: Create a new file.rm <file>
: Delete a file.mkdir <dir>
: Create a new directory.rmdir <dir>
: Remove an empty directory.cd <dir>
: Change the current working directory.cp <src> <dst>
: Copy a file from source to destination.mv <src> <dst>
: Move or rename a file.
Ctrl+H
: Toggle visibility of hidden files.Ctrl+C
: Clear the command input bar.Ctrl+E
: Focus the command input bar.Ctrl+A
: Select all text in the editor.Ctrl+V
: Paste clipboard content into the editor.Ctrl+S
: Save the current file.
- Clone the repository:
git clone https://github.com/e3nviction/TerMan.git
- Navigate to the project directory:
cd TerMan
- Install the required dependencies:
pip install -r requirements.txt
- Run the application:
python main.py
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Feel free to open issues or submit pull requests to improve TerMan.