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
pip install poetry
Note, you will need the 'Extra' repository in pacman.
pacman -S python-poetry
install from package manager; or: pip install poetry --break-system-packages
poetry run python main.py
the configuration file for safe can be found at ~/.config/safe.ini
enables nerd fonts
kinda broken, Use Control+C to quit
uses nerd font icons to create a cool prompt (requires ColorPrompt setting to be true)
uses ansi escape codes to put colors in your prompt
sets an alias for a command with the format: alias_name = underlying_command
- 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 v.1.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 (v.1.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??