A really stupid text editor with a shell like environment to edit files just as if you're in a real shell. which in turn makes text editing really slow
- run
python -m venv .venv
to create a virtual environment - run
source .venv/bin/activate
to activate the virtual environment - run
pip install -r requirements.txt
to install the required packages - run
python main.py
to start the editor
- rewritten mostly from scratch.
- actually extensible
- multiple buffers!
- and more idk i got hyper focused and didnt pay attention to what i added
- formatted stuff with
black
andisort
- fixed some stuff that wasnt working, like the cat command and save command.
- more formatting
- added custom auto complete
- made cat command show all lines (before it stripped any empty lines after the last line with content)
- made the program not immediately throw an error on older versions of python. tested on py3.9.21
-
Added back scripts (they're pretty useless not gonna lie)
- make file and start editing (maybe in safe ;) )
- put commands in like you would in the interactive editor
- run safe with the -s or --script attribute along with all the scripts you want to run
- enjoy
-
Enhanced plugin support
-
Added example plugins: Kanban and a template
-
ls
command (woah, revolutionary!)
- NOTE: Calculator module is coming soon.
- moved ls to defmod/shell.py
- added cd command (might be a little broken hehe)
- edit,insert,cat,clear commands added
- file opening
- shell like split with
shlex
- saving, save command
- save status in prompt
- better prompt
- debug mode, debug command
- delete command
- filename setting, setfilename command
- exit command
- info command
- debug mode exception printing
- added readline module (history, along with other useful things for python inputs)
- bare-bones scripting support
- i moved the traceback import
- *cricket noises*
- planned relative timestamp
- *cricket noises*
- added config file
- added filesize
- help command
- relative timestamp added from v1.0.6
- environment variables, variables
- exit warning if unsaved changes
- removed help from readme file :)
- slight windows support
- syntax highlighting 🥳🥳🥳
- slight plugin support?
- setfiletype command
- multicommand support (&& to split commands.)
- better windows support
- command aliases (they didnt work well)
- nerd font support (v1.0.7 planning)
- nerd fonts support is kinda also colored prompt as well?
- ^C (ctrl+c) to quit (config file)
- better command aliases
- random color in nerd font prompt
- prints command when not recognized
- added ctrl+c config documentation
- added exec command (os.system)
- made NerdFontIcons setting enable icons only
- added CoolPrompt setting (requires ColorPrompt setting, for cooler prompt with colors)
- added ColorPrompt setting (for colors)
- added license (MIT)
- added filesize in different units
- added "cmd" variable type
- added poetry (a friend recommended it)
- added optional "cat" command index :)
- added "new" command (yes, "new". it creates a new empty file.)
- added "open" command
- added "ls" command (lists directory with optional path :) )
- made the ColorPrompt only use colors 1-15 :) (works better with terminal color themes along with pywal and similar)
- fixed cat command??
- made the help command better
- removed poetry cause its shit
- also this is the first commit in 11 months
- might also stop making commits align with version numbers