Skip to content

Modern terminal-based text editor in Python, PyEditor combines simplicity with powerful features. Customize keybindings and enjoy real-time syntax highlighting. πŸ™πŸ’»

License

Notifications You must be signed in to change notification settings

marco71giusti/PyEditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

PyEditor: A Modern Terminal-Based Text Editor in Python 🐍✍️

Download PyEditor Releases

Table of Contents

Overview

PyEditor is a modern terminal-based text editor implemented in Python. It combines the simplicity of Nano with powerful, IDE-style features, all within a console environment. PyEditor utilizes the curses library for efficient screen management and Pygments for real-time syntax highlighting across various programming languages. Users can enjoy a streamlined editing experience that enhances productivity.

Features

  • Terminal-Based Interface: Works seamlessly in any terminal.
  • Syntax Highlighting: Supports multiple languages with real-time highlighting using Pygments.
  • Easy Navigation: Simple keyboard shortcuts for quick access to functions.
  • File Management: Open, save, and edit files with ease.
  • Search Functionality: Quickly find text within your files.
  • Plugin Support: Extend functionality with user-defined plugins.
  • Customizable Key Bindings: Adapt the editor to your workflow.
  • Cross-Platform: Runs on Linux, macOS, and Windows.

Installation

To install PyEditor, you need to have Python 3.x installed on your system. Follow these steps:

  1. Clone the Repository:

    git clone https://github.com/marco71giusti/PyEditor.git
  2. Navigate to the Directory:

    cd PyEditor
  3. Install Required Packages: Use pip to install the necessary packages:

    pip install -r requirements.txt
  4. Run the Editor: You can now run PyEditor with the following command:

    python pyeditor.py
  5. Download Releases: For the latest stable version, download the releases here and execute the appropriate file for your operating system.

Usage

Once you have installed PyEditor, you can start using it right away. Here are some basic commands to get you started:

  • Open a File:

    python pyeditor.py filename.txt
  • Save a File: Press Ctrl + S to save your current work.

  • Search for Text: Press Ctrl + F, then type the text you want to find.

  • Close the Editor: Press Ctrl + Q to exit.

Configuration

You can customize PyEditor by editing the configuration file located in the .pyeditor directory in your home folder. Here are some options you can modify:

  • Key Bindings: Change keyboard shortcuts to suit your preferences.
  • Theme: Choose from several themes for syntax highlighting.
  • Plugins: Enable or disable plugins as needed.

Contributing

We welcome contributions from the community! If you want to help improve PyEditor, please follow these steps:

  1. Fork the Repository: Click on the "Fork" button on the top right corner of the repository page.
  2. Create a Branch:
    git checkout -b feature/YourFeatureName
  3. Make Your Changes: Implement your feature or fix.
  4. Commit Your Changes:
    git commit -m "Add Your Feature"
  5. Push to Your Fork:
    git push origin feature/YourFeatureName
  6. Create a Pull Request: Go to the original repository and click on "New Pull Request."

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Support

If you encounter any issues or have questions, please check the Releases section for updates. You can also open an issue in the repository for support.

Download PyEditor Releases

Additional Resources

  • Documentation: Comprehensive documentation is available in the docs folder.
  • Examples: Explore the examples directory for sample configurations and plugins.
  • Community: Join our community on GitHub Discussions for tips and tricks.

Screenshots

PyEditor Interface Syntax Highlighting

Frequently Asked Questions (FAQ)

Q: What platforms does PyEditor support?
A: PyEditor runs on Linux, macOS, and Windows.

Q: Can I use PyEditor for large projects?
A: Yes, PyEditor is designed to handle files of various sizes efficiently.

Q: Is there a way to extend PyEditor?
A: Yes, you can create plugins to add new features.

Q: How can I report a bug?
A: Open an issue in the repository and provide details about the bug.

Acknowledgments

  • Thanks to the contributors who have helped improve PyEditor.
  • Special thanks to the creators of the curses and Pygments libraries for their invaluable tools.

This README provides a comprehensive overview of PyEditor. For any additional information or support, please feel free to reach out through the GitHub repository.

About

Modern terminal-based text editor in Python, PyEditor combines simplicity with powerful features. Customize keybindings and enjoy real-time syntax highlighting. πŸ™πŸ’»

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages