Releases: xyproto/orbiton
Releases · xyproto/orbiton
Orbiton 2.68.9
Fixes
- Fix an issue with the
ctrl-g
help 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
Which
in 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
.gitignore
template.
Various
- Change the highlight color for the Pinetree theme.
- Update documentation.
- Update dependencies.
Orbiton 2.68.8
Changes
- Let the
-e
flag be an alias for--clear-locks
and the-r
flag an alias for--release
.
Fixes
- Fix the Nano-mode help box so that it appears again when
ctrl-g
is pressed. - Check if the an input file specified with
-i
exists before piping it tostdin
when 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-format
for Objective-C. - Add initial support for building
CMakeLists.txt
files withctrl-space
. - Initial support for recognizing
.faust
files.
Comfort and convenience
- Let 2x
ctrl-space
both export and open Markdown documents. - Help users avoid inserting
l
by accident right afterctrl-l
has been pressed. - Add case insensitive filename globbing.
- Improve the program output box layout.
- Make it possible to press
<esc>,w
to save and<esc>,q
to 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-w
where 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
-p
no longer requires-f
to overwrite an empty file.
Hotkeys
- A double press of
ctrl-l
will 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-n
orctrl-p
can 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.lua
file and then double pressingctrl-space
. - When editing a Go program and formatting it with
ctrl-w´, install
goimportwith
go installif
goimport` is missing.
ABC music notation
- Add support for the ABC music notation file format, and playing files by double pressing
ctrl-space
iftimidity
is installed and configured. - When pressing
ctrl-w
in a blank file with the.abc
extension, 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
--help
output. - Update dependencies.
Orbiton 2.68.6
Fixes
- Fix a one-letter typo in the
--help
output. - 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
/--digraphs
flag for listing all possible digraphs.
General
- Update documentation.
- Update dependencies.
Orbiton 2.68.5
- Add support for
odinfmt -w
, for Odin programs, when pressingctrl-w
to format a file. - Recognize
inline
C 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
--format
flag for formatting a file and then quitting. - Add a
--build
flag 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,space
and thenmake
execmake
. - Look for a
makefile
,Makefile
orGNUmakefile
before executingmake
. - Let
ctrl-g
not try to jump to definition for non-source code files. - Improve jumping to a matching parenthesis when
ctrl-g
is 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
-b
to list the file withbat
after copying or pasting, in connection with-c
or-p
. - Add
-t
to list the file after copying or pasting, in connection with-c
or-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.
Orbiton 2.68.2
Fixes
- When editing Nroff, let
ctrl-space
toggle the man page preview properly. - Let the bookmark functionality display status bar messages again, when
ctrl-b
is pressed. - Fix a bug in the
vt100
dependency in connection with pasting in text withshift-insert
.
New features
- Add built-in support for formatting Go/Plan9 style Assembly by pressing
ctrl-w
by using the asmfmt and lookslikegoasm packages. (Thanks @klauspost!) - Add tab completion with Ollama/LLMs, if the
-o
or--ollama
flag is given. This is an experimental feature! - Let
ctrl-o,b
trigger block editing. - Let
ctrl-o,space
open the command prompt.
Improvements
- Improve how format commands are looked up, for various programming languages.
- Improve the C function signature detection.
- Improve the "go to definition" feature (activated by pressing
ctrl-g
over a symbol). - Show the progress indicator after jumping with
ctrl-l
. - Simplify the man page syntax highlighting code a bit.
- Add usage help for the Pico/Nano mode flag (
-e
or--nano
).
General
- Confirm that Orbiton passes the "Moby Dick Workout", and document it in the
README.md
file. - Update documentation.
- Update dependencies.
- Some refactoring.
2.68.1
Orbiton 2.68.0
Performance improvements
- Improve the performance when scrolling.
- Disable/enable the cursor less often when redrawing the text of the editor.
- Just check once if the parent process is
man
when needed, not at every editor start. - Seldom allocate memory when rendering and highlighting text.
Fixes
- Use atomic bools to fix a race condition.
- Improve how signal handlers are cleared and set up.
- Adjust the logic for when the undo buffer is full.
- Fix the file monitoring mode (the
-m
flag).
Look and feel
- Highlight the current line when moving up and down with the arrow keys.
- Improve a status message for the Nano/Pico compatibility mode.
- Remove
Toggle status bar
from thectrl-o
menu, but add aToggle block editing
option. - Stop
ctrl-g
from toggling multiline/block editing. - Let
ctrl-g
toggle the status bar if no definition is found (like it was before). - Let
ctrl-space
toggle between Nroff and Man page mode (experimental feature). - Also support
home
,end
,pgup
,pgdown
andctrl-insert
(as an "undocumented feature"). - Let
ctrl-g
also try to jump to a matching parenthesis or bracket (only for characters currently on screen, for now). - Make the
pacman
spinner just a bit nicer.
Syntax highlighting
- Initial support for Nmap scripts.
- Improve single line comment syntax highlighting in Elm.
- Improve syntax highlighting for configuration files.
- Improve syntax highlighting for C.
Programming related
- Let the name of the function the cursor currently is in appear in the upper right corner for ~2 seconds (very handy when navigating lengthy functions).
- Adjust the package building command for when
ctrl-space
is pressed in aPKGBUILD
file.
Themes
- Do not try to set a theme if
NO_COLOR=1
is specified. - Add a new theme named Orb.
- Add a new theme named Pinetree.
- Improve themes so that they work better on light backgrounds (such as default xterm).
- Adjust the
synthwave
theme. - Adjust the
blueedit
theme.
General
- Update documentation.
- Update dependencies.
- Refactor.
- Remove unused functions.
- Follow the advice of
go vet
,staticcheck
andbetteralign
. - Update test files.