o is a text editor that is limited to the VT100 standard. It has general syntax highlighting and launches instantly.
It might be a good fit for:
- Editing git commit messages (using EDITOR=o git commit).
- Editing Markdown, and exporting to PDF.
- Learning "up and coming" programming languages, like Zig or Rust.
- Editing files deep within larger Go or C++ projects.
- Solving Advent of Code tasks.
- Writing and maintaining to-do lists and project documentation in Markdown.
2.36.009 Apr 2021 09:25
Autocompletion of programming language keywords when pressing Tab.
an where 033 7l would be used instead of 033 ?7l for disabling line wrap. Thanks to Tom Szilagyi for the help with this!.
Support for formatting /etc/fstab files with the help of fstabfmt.
Initial support for Scala.
Minor changes to the Go syntax highlighting.
Immediately save the file if SIGTERM is received.
Recognize that files saved to /usr/bin should normally be executable.
Improve the JSON detection.
Show the current file mode when pressing ctrl-g.
an where lines containing - in C++ would make most of the line appear in gray.
Minor changes to the --help output.
2.35.125 Feb 2021 03:15
an where ctrl-s would move the cursor in a non-obvious way and cause problems when inserting text at the end of long lines.
Improve the Markdown to PDF export, using pandoc.
Respect the PAPERSIZE environment variable.
Draw the correct theme immediately when o starts. Don't blink.
Use the red/black theme by default if the shell path starts with /usr/local/bin (BSD-likes).
Use the default theme if the executable name is default.
Add csh shell script detection.
Add initial Nroff support, for writing man pages.
View Jupyter Notebook files (.ipynb) as JSON.
Add support for.te files (SELinux policy files).
Initial support for the Odin programming language.
Minor improvements for building Zig sources.
Format XML and HTML by pressing ctrl-w, with the help of the tidy utility.
Improve the syntax highlighting for regular text files.
Add syntax highlighting of comments for HTML and XML.
Minor improvements to the Go, Kotlin and Shell syntax highlighting.
Switch the CI configuration from Travis CI to GitHub workflows.
Save the last used command to /.cache/o/last_command.sh.
Improve the help output and the error message if no filename is given.
Compile with Go 1.16.
2.35.009 Jan 2021 03:15
Make it easy to preview HTML files at the press of ctrl-space by using xdg-open.
Support for column numbers as a third argument when launching o.
an where the cursor was hidden when moving left on a long line, after having scrolled to the right.
return key behavior for long lines.
backspace key behavior when removing indentation.
Don't move to the start or end of the line when ctrl-s is pressed.
syntax highlighting for numbered lists in Markdown, and lists where each item spans more than one line.
2.34.131 Dec 2020 06:23
- Add support for formatting HTML with ctrl-w if tidy is installed.
- Improve the Ada support.
- Minor improvement for Go syntax highlighting.
- Minor improvement for how Rust executables are built.
- Improved Rust syntax highlighting, including not interpreting #! ...(...) directives as shebangs.
- Save the file before pasting using external utilities like wl-paste.
- Make the portal feature per-user instead of per-system.
- Better support for Zig. Recognize if SDL2 is in use and add -lsdl2, as a special case, only if there is no build.zig file.
- When editing PKGBUILD files and selecting Call Guessica from the command menu, make it possible to undo.
- Also support building Kotlin .kts files with ctrl-space (not just .kt).
- Fix compilation for FreeBSD by using a specific commit of github.com/pkg/term.
- Update dependencies.
- Update documentation.