Skip to content

Releases: xyproto/orbiton

Orbiton 2.70.0

09 Jun 12:27
Compare
Choose a tag to compare

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 -z flag 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

30 Apr 15:52
Compare
Choose a tag to compare

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-k is held down.
  • Move lines up and down with ctrl-p and ctrl-n if Move lines with ctrl-n and ctrl-p have been enabled from the ctrl-o menu.

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-space is pressed.
  • Also let ctrl-c stop background processes.
  • Update the build command for Java so that it works on macOS as well.
  • Improve the .gitignore template.

Files and flags

  • When opening a directory that contains a single file, open that file instead of displaying an error.
  • Add a --glob / -g flag for searching for a substring of a filename and then opening the first match.
  • When including include.txt from the ctrl-o menu, 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 ~/.cache and ~/.config if 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 / -s flags are now for displaying digraphs, while the --glob / -g flags are for searching for files. This changes the meaning of -g from "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-o menu a bit shorter when running in the VSCode terminal.
  • Update documentation.
  • Update dependencies.

Code quality

  • Follow the advice of the betteralign utility, for aligning structs.
  • Follow the advice of the deadcode utility, 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

06 Mar 15:13
Compare
Choose a tag to compare

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

26 Feb 11:41
Compare
Choose a tag to compare

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 to stdin when running programs with 2x ctrl-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 with ctrl-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 after ctrl-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

18 Jan 16:44
Compare
Choose a tag to compare

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 or ctrl-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 pressing ctrl-space.
  • When editing a Go program and formatting it with ctrl-w´, install goimportwithgo installifgoimport` is missing.

ABC music notation

  • Add support for the ABC music notation file format, and playing files by double pressing ctrl-space if timidity 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

19 Dec 14:42
Compare
Choose a tag to compare

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

17 Dec 22:19
Compare
Choose a tag to compare
  • Add support for odinfmt -w, for Odin programs, when pressing ctrl-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

01 Dec 14:16
Compare
Choose a tag to compare

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

22 Nov 14:56
Compare
Choose a tag to compare

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 then make exec make.
  • Look for a makefile, Makefile or GNUmakefile before executing make.
  • 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 with bat 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

04 Nov 21:27
Compare
Choose a tag to compare

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 with shift-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.