Releases: xyproto/orbiton
Releases · xyproto/orbiton
Orbiton 2.70.4
New features
- Press
ctrl-cthrice to copy the current function to the clipboard. - Add support for displaying images in the QOI image format.
- Add a new theme, the Zulu theme (now my favorite theme).
- Implement a
visudoreplacement, ifois started asosudoorvisudovia a symlink.
Fixes
- Fix a check for if the executable or symlink starts with
forg. - Fix the StandardML template cursor placement.
- Fix the distance function that is used in the built-in game.
- Fix typos in comments.
- Fix a typo in the tutorial.
- Stop the debug info from disappearing.
- Fix syntax highlighting of numbers when viewing man pages.
Programming related
- Add function name detection for Makefiles.
- Improve syntax highlighting for Makefiles.
- Improve syntax highlighting and function name detection for Nim.
- Add initial support for Chuck, SuperCollider and POV-Ray.
- Improve syntax highlighting for shell scripts.
- Improve function name detection for Zig.
- Improve function name detection for C and C++.
- Improve function name detection in general.
- Add "jump to include" with
ctrl-g. It will try to jump to definitions first, then to includes, then back, in that order. - Add initial support for Gleam.
- Remove Ollama-based tab completion.
- Add experimental
goplstab completion, for Go. - Describe the function the cursor is over if the
-o/--ollamaflag is given. - Remove the use of the scons-based
cxxtool, for now. - Add initial support for the Flap programming language.
- Improve syntax highlighting for Go.
UX
- Also let
ctrl-cexit the image viewer. - Add an error message if Orbiton is ran on Windows, since the keyboard handling is not Windows-friendly yet.
- When copying a file to the clipboard, show one less tail byte.
- Add support for PgUp, PgDn, Home and End in the Markdown table editor.
- Let
ctrl-gtoggle the info bar only when the cursor is before a line of text, when programming. - Improve some status messages.
- Highlight
<and>differently. - Make the
ctrl-omenu title just a bit smarter. - Improve themes for dark and light backgrounds slightly.
- Make sure the progress indicator is shown, for all themes.
- Show fewer menu items in the
ctrl-omenu when running under VSCode, in the terminal window. - Improve the Teal theme a bit.
Performance related
- Some VT100 related performance improvements.
- Building with
GOEXPERIMENT=greenteagcby default, for a tiny performance improvement. - Pre-allocate some slices, for performance.
- Use replacers for syntax highlighting.
Code quality
- Refactor some of the code.
- Remove unused functions.
- Copy the Canvas struct without also copying the mutex.
- Improve a Copy function so that the mutex is not copied.
- Use a switch instead of an if-else in one place.
- Adjust how Markdown checkboxes are toggled.
General
- Improve the fstab formatting.
- Improve behavior when opening partial filenames.
- Update documentation.
- Update dependencies.
Orbiton 2.70.0
New features
- Support piping to stdin and copying the text to the clipboard with
-c. For example:grep substring filename | o -c
Programming languages
- Improve the function name detection for both Java and Kotlin.
- Add experimental support for Nix and Beef.
- Improve syntax highlighting for configuration files.
Flags
- Add a
-zflag for not displaying the "quick help" box.
Look and feel
- Make the "quick help" box just a bit wider.
- Improve lock-related messages.
- Display a status message when macro recording starts.
- Display undo-related status messages in a smoother way.
Various
- Add a check for not trying to lock
-or/dev/*files. - Improve temp file handling when exporting to
.adoc. - Use a mutex in the RedrawAtEndOfLoop function.
- Let the undo system be a bit smarter and use less memory.
- Save and load lockfiles concurrently.
General
- Update CI configuration.
- Update documentation.
- Update dependencies.
- Minor performance improvements.
- Some refactoring.
Orbiton 2.69.0
Editing and code navigation
- Moving to the right at the end of the last line now scrolls down.
- Move the cursor faster at an increasing rate if an arrow key is held down for a little while.
- Delete lines faster if
ctrl-kis held down. - Move lines up and down with
ctrl-pandctrl-nifMove lines with ctrl-n and ctrl-phave been enabled from thectrl-omenu.
Programming
- Add function name detection for Java, so that the name of the method the cursor is in is displayed in the upper right corner.
- Initial support for Python/Flask applications.
- Open Flask applications in a browser when running them.
- When running a program with 2x
ctrl-space, strip away terminal escape codes when displaying the output. - Stop previously launched processes that are already running when
ctrl-spaceis pressed. - Also let
ctrl-cstop background processes. - Update the build command for Java so that it works on macOS as well.
- Improve the
.gitignoretemplate.
Files and flags
- When opening a directory that contains a single file, open that file instead of displaying an error.
- Add a
--glob/-gflag for searching for a substring of a filename and then opening the first match. - When including
include.txtfrom thectrl-omenu, and it does not exist in the same directory as the file that is being edited, but it exists in the current directory, then include the one in the current directory. - Create
~/.cacheand~/.configif they are missing.
Copy and paste
- Make sure there is a final newline in place when pasting non-binary data to a file with
o -p. - Use colors for the copy/paste status output on the command line.
Themes and syntax highlighting
- Improve syntax highlighting of multiline strings.
- Improve syntax highlighting of binary files.
- Improve syntax highlighting of Makefiles.
- Improve the Orb theme, for better contrast.
- Improve the Litmus theme.
- Improve the Pinetree theme.
- Exiting the editor now clears any non-default background color that have been in use.
Breaking changes
- The
--digraph/-sflags are now for displaying digraphs, while the--glob/-gflags are for searching for files. This changes the meaning of-gfrom "digraph" to "glob".
Various
- Also save relevant environment variables when saving a command (the last command can be seen with
o -l). - Make the
ctrl-omenu a bit shorter when running in the VSCode terminal. - Update documentation.
- Update dependencies.
Code quality
- Follow the advice of the
betteralignutility, for aligning structs. - Follow the advice of the
deadcodeutility, for removing unused code. - Make the code slightly more idiomatic.
- Simplify some functions.
- Remove some temporary variables.
- Refactor some of the code.
Orbiton 2.68.9
Fixes
- Fix an issue with the
ctrl-ghelp text in Nano/Pico mode disappearing too quickly. - Fix an issue where text would "shake" a little bit when moving up and down in the Linux console (not under X11 or Wayland).
Performance improvements
- Hide the cursor when redrawing all the text.
- Cache the result of
Whichin a couple of places.
Programming related
- Make it possible to syntax check and run single Clojure source files with 2x
ctrl-space. - Improve syntax highlighting and function name detection for Kotlin.
- Improve the default
.gitignoretemplate.
Various
- Change the highlight color for the Pinetree theme.
- Update documentation.
- Update dependencies.
Orbiton 2.68.8
Changes
- Let the
-eflag be an alias for--clear-locksand the-rflag an alias for--release.
Fixes
- Fix the Nano-mode help box so that it appears again when
ctrl-gis pressed. - Check if the an input file specified with
-iexists before piping it tostdinwhen running programs with 2xctrl-space. - Make it possible to also run Go main packages with 2x
ctrl-space. - Fix the wording when trying to copy an empty file with
-c.
Programming related
- Improve syntax highlighting for Go, Java, Rust, Lua and others.
- Also use
clang-formatfor Objective-C. - Add initial support for building
CMakeLists.txtfiles withctrl-space. - Initial support for recognizing
.faustfiles.
Comfort and convenience
- Let 2x
ctrl-spaceboth export and open Markdown documents. - Help users avoid inserting
lby accident right afterctrl-lhas been pressed. - Add case insensitive filename globbing.
- Improve the program output box layout.
- Make it possible to press
<esc>,wto save and<esc>,qto quit, as a nod to users accustomed to ViM with,as the leader.
Code quality
- Fix tests so that the cursor is not hidden once the tests are complete.
- Simplify some of the code.
- Rename some functions.
- Refactor functions related to string slices.
- Refactor code related to the experimental Ollama-based tab completion.
Various
- Compile release executables with Go 1.24.
- Update the default build flags in the
Makefile. - Update documentation and help text.
- Update dependencies.
Orbiton 2.68.7
Fixes and improvements
- Fix an issue with formatting JSON with
ctrl-wwhere the formatter would sometimes place everything on one line. - Fix an issue with "clear on quit" in connection with displaying images in a terminal.
- Pasting from the clipboard to a file with
-pno longer requires-fto overwrite an empty file.
Hotkeys
- A double press of
ctrl-lwill now alternate between jumping to the top or bottom. - Pressing
ctrl-~will now insert the current date and time. - After using the arrow keys,
ctrl-norctrl-pcan be used for jumping to a maching parenthesis or bracked. This only jumps within the current view, for now.
Programming related
- Add experimental support for running LÖVE and LÖVR programs by editing a
main.luafile and then double pressingctrl-space. - When editing a Go program and formatting it with
ctrl-w´, installgoimportwithgo installifgoimport` is missing.
ABC music notation
- Add support for the ABC music notation file format, and playing files by double pressing
ctrl-spaceiftimidityis installed and configured. - When pressing
ctrl-win a blank file with the.abcextension, insert a template for an ABC music notation file.
Visual improvments
- Improve the syntax highlighting for makefiles and shell scripts.
- Adjust the look of the "program output" box and the "running" box.
General
- Some refactoring.
- Update documentation.
- Improve the
--helpoutput. - Update dependencies.
Orbiton 2.68.6
Fixes
- Fix a one-letter typo in the
--helpoutput. - Fix an issue where a file lock could remain after quitting.
- Make handling opening non-existing files that ends with
.more robust.
Performance and size
- Compile the release binaries with soon to be released Go 1.24 compiler.
- Reduce the binary size slightly by compressing the embedded list of digraphs.
Programming related
- Improve the function name detection for Odin.
New features
- Add a
-g/--digraphsflag for listing all possible digraphs.
General
- Update documentation.
- Update dependencies.
Orbiton 2.68.5
- Add support for
odinfmt -w, for Odin programs, when pressingctrl-wto format a file. - Recognize
inlineC functions when highlighting function names. - Quit faster by running closing tasks concurrently (clear locks and save the cursor location in the current file).
- Improve syntax highlighting for makefiles.
- Set the terminal emulator title concurrently at start, for minor performance gains.
- Display a shorter status message when loading files.
- Add a
--formatflag for formatting a file and then quitting. - Add a
--buildflag for building a file/project and then quitting. - Add keybinding help to the little built-in game.
- Some refactoring.
- Update the man page and help text.
- Update dependencies.
Orbiton 2.68.4
Fixes
- Fix an issue with wide runes when typing in letters. The go-runewidth package is used to find the width of strings and runes.
- Fix text rendering when viewing man pages.
Various
- When displaying program output after compiling and running with
ctrl-space, don't clear the output until a key is pressed. - Initial support for diff/patch files.
- Update documentation.
- Update dependencies.
Orbiton 2.68.3
Look and feel
- Keep a separate search and replace history, so that arrow up/down works both for the search text and for the replacement text.
- Fix a missing status message when pasting through portals.
- Fix a missing bookmark-related status message.
- Make adjustments to the highlight color for various color themes.
Programming
- Check if Assembly looks like Go/Plan9 style when formatting (there is built-in support for formatting Go/Plan9 style Assembly).
- Let
ctrl-o,spaceand thenmakeexecmake. - Look for a
makefile,MakefileorGNUmakefilebefore executingmake. - Let
ctrl-gnot try to jump to definition for non-source code files. - Improve jumping to a matching parenthesis when
ctrl-gis pressed. - Improve the Odin function name detection.
- Fix "jump to error" for Odin.
- Fix the Odin build command argument order, and running Odin programs with
ctrl-space. - Add initial support for Starlark.
- Improve syntax highlighting for CSS.
Flags
- Add
-bto list the file withbatafter copying or pasting, in connection with-cor-p. - Add
-tto list the file after copying or pasting, in connection with-cor-p.
General
- Compress the embedded English word list with the excellent Zopfli utility, to save a couple of KiBs.
- Some refactoring.
- Update dependencies.
- Update documentation.