Coder Social home page Coder Social logo

sergio00166 / pbte Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 637 KB

An experimental python based terminal file editor

License: GNU General Public License v3.0

Python 100.00%
command-line command-line-tool console python python3 terminal-based windows dependency-free linux multiplataform ascii

pbte's Introduction

pBTE

python-based Basic Text Editor

A a basic terminal text editor with python using the minimun external libraries as possible (only wcwidth and colorama)

Only supports UTF-8 (normal mode) and ASCII (for reading bin files)

Nowadays it is in development stage, then it can be expected to be broken

Basic functionalities currently available such as copy, cut, paste lines, and the basic for a text editor

Due to limitations with msvcrt.getch() on windows to select (highlight) lines you must use Ctrl+arrows instead of Shift+arrows

Requirements:
Python 3 (tested under python 3.12)
No dependencies
Windows or Linux with UTF-8 keyboard


OPTIONS


NORMAL
^Q QUIT | ^S SAVE | ^A Save as | ^O OPEN | ^C COPY | ^X CUT | ^P PASTE
^G GOTO | ^D DEDENT | ^I INDENT | ^K COMMENT | ^U UNCOMMENT
F1 change indent str | F2 change start comment str
F3 change end comment str

Open file menu
^C CANCEL | ^O OPEN | ^N NEW FILE

Save as menu
^C CANCEL | ^S SAVE | ^B BACKUP | ^A APPEND | ^P PREPEND
For menus like ^G, F1, F2 and F3 you can use ^C to exit that menu and
Return to leave that value blank (if no text is writed)

pbte's People

Contributors

sergio00166 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.