Skip to content

Releases: xyproto/orbiton

Orbiton 2.65.4

06 Nov 12:12

Choose a tag to compare

Performance

  • Allocate memory before loading data from a file.

Editor Behavior

  • When pasting code at a place that is indented, try to respect the current indentation level.
  • After pressing ctrl-l to jump somewhere, also let ctrl-n and ctrl-p work in this mode.
  • Use a scroll-bar like indicator on the right hand side instead of the experimental mini-map.

Syntax Highlighting

  • Improve syntax highlighting for configuration files.
  • Handle backticks (`) in Markdown in a more correct way.
  • Improve syntax highlighting for code blocks in Markdown.

User Help

  • Adjust the wording of the --help output.
  • Improve how the Quick Help box is being drawn.
  • If the user opens up a source code file, edits and saves it within 30 seconds, recognize the user as a developer and disable the quick help screen.

General

  • Build releases with (and also require) Go 1.21.
  • Update CI configuration.
  • Update documentation.
  • Update dependencies.

Orbiton 2.65.3

29 Oct 15:49

Choose a tag to compare

New features

  • When browsing up and down with ctrl-p and ctrl-n, display a mini map on the right hand side.
  • Add a -d flag for also creating directories when opening a new file within one or more new directories.
  • Add a new Teal theme.

Syntax highlighting

  • Improve syntax highlighting for CMake.
  • Improve syntax highlighting for Dockerfile files.

Go related

  • Let ctrl-w to format code also work for Go files where no go.mod file is present.
  • Look for go.mod in parent directories before building.

Performance

General

  • Improve the wording in the tutorial.
  • Let the quick help border color also look right on light terminal emulator backgrounds.
  • In the ctrl-o menu, move Delete the rest of the file up a bit, so that the shortcut key will be d.
  • Move the wordWrap function to a separate package.
  • Update dependencies.
  • Update documentation.

Orbiton 2.65.2

12 Oct 10:03

Choose a tag to compare

Fixes

  • Fix syntax highlighting of URLs in shell scripts.
  • Improve how man pages are parsed and presented, so that it also handles underscores in the formatting codes.
  • Let ctrl-space do nothing when viewing a man page, instead of toggling to the raw bytes.
  • When building a main.go file with ctrl-space and no go.mod file exists, then run go build main.go and not just go build.
  • When a search is active and ctrl-l is pressed, clear the search before highlighting letters that can be jumped to.

New features

  • Add a menu option for copying all text between the bookmark (set one with ctrl-b) and the cursor position.
  • Build PKGBUILD files with ctrl-space (this is an experimental feature).
  • Let osudo act like EDITOR=o visudo (this depends on visudo being present, for now).

Look and feel

  • Enhance the look and feel of the "quick help" pane.
  • Use the JumpToLetterColor from the theme when highlighting letters to jump to when ctrl-l is pressed.
  • Minor changes to the Synthwave theme.
  • Improve syntax highlighting of YAML files.
  • Improve syntax highlighting of Dockerfiles.
  • Improve syntax highlighting of configuration files.
  • Improve a status message.

Various

  • Let ctrl-space or ctrl-t toggle checkboxes in Markdown documents instead of ctrl-w.
  • Improve the detection of HTML and XML files.

Orbiton 2.65.1

29 Sep 14:25

Choose a tag to compare

  • Make it possible to open a blank main.py file, insert an example program with ctrl-w and run it by pressing ctrl-space twice.
  • Fix an issue with enabling man page mode when using MANPAGER=o.
  • Smarter cursor movement when joining lines with ctrl-j (stay at the start of the line if it is pressed repeatedly).
  • Make it possible to jump back with ctrl-b after jumping to a definition within the same file with ctrl-g.
  • When entering a switch/case block with empty cases, don't indent the cases further and further to the right.
  • Let the copy/paste portal have a 20 minute timeout, so that pasting into a file some time later becomes more intuitive.
  • Use the new GOEXPERIMENT=loopvar feature of the Go compiler in the Makefile.
  • Add a status message when pasting multiple lines.
  • Use open instead of xdg-open on macOS.
  • Add a quick help box that appears when starting the editor, that can easily be disabled.
  • Add a simple tutorial mode, where the user can browse through steps.
  • Add a simple hotkey overview within the editor.
  • Update dependencies.
  • Update documentation.

Orbiton 2.65.0

17 Sep 16:41

Choose a tag to compare

New features

  • Add an experimental built-in English spell checker with fuzzy matching. Press ctrl-f and enter t to search for typos. Then press ctrl-a to add a word, ctrl-i to ignore a word or ctrl-n to go to the next instance of the word. The word lists are not persistent, yet.

Usability improvements

  • Keep the cursor at the start of the text when joining lines with ctrl-j.
  • Improve the status output when clearing locks.
  • Improve the --help output.
  • Improve the Tab key behavior when the user is inputting text.
  • Make o -l (view last executed external command) more usable by also saving file export commands.
  • Improve some status messages.
  • Disallow Greek question marks that looks like semicolons (0xcd 0xbe) in addition to the already disallowed non-breaking space (0xc2 0xa0) and annoying tildes (0xcc 0x88). This is opinionated, but removes annoyances.

Performance improvements

  • Enable profile-guided optimization (PGO), which is a new feature in Go 1.21.
  • Let the ctrl-f search history have timestamps, so that it can be culled when it grows too large (currently set to a maximum of 1024 entries). This ensures that the search history will never take too long to load.

File format support

  • Add initial support for Dockerfile (For Docker images and containers) and Modelfile (For Ollama / LLMs).
  • Let ASCIIDoc and SCDoc have separate editor modes.
  • Add syntax highlighting and a simple template for Lilypond (music notation).
  • Make it possible to export PDF files from Lilypond code by pressing ctrl-space if Lilypond is installed.
  • Make it possible to both export and open PDF files when editing Lilypond code with a double press on ctrl-space, if open or xdg-open is available, together with a PDF viewer like ie. evince or okular.

Bug fixes

  • Remove a stray log message.
  • Improve and fix the tracing and profiling behavior (when building with make trace).
  • When opening a binary file, make sure not to set the terminal title to anything cryptic.
  • Fix two race conditions that could happen when very quickly jumping around in a file and/or frantically searching for text.
  • Update the Makefile to install the right Orbiton Light icon + rename an icon file.

Various changes

  • Move the Pandoc PDF render option to the ctrl-o menu.
  • Only have one ctrl-o menu option for inserting time and date.
  • In Nano mode: don't save the file first, when running the spell checker by pressing ctrl-t.

General

  • Refactor some of the code.
  • Remove some unused functions.
  • Add some tests.
  • Update documentation.
  • Update dependencies.

Orbiton 2.64.3

29 Aug 10:02

Choose a tag to compare

  • Follow the advice of golint.
  • Add the total number of lines and which line the cursor is at as a percentage to the ctrl-g status bar text.
  • Fix an issue with the Makefile for when building and installing the VTE/GTK3 application on macOS.
  • Add longer command line flags, such as --copy and --paste as aliases for -c and p.

Orbiton 2.64.2

28 Aug 14:36

Choose a tag to compare

  • Update the default CXXFLAGS in the Makefile.

Orbiton 2.63.1

11 Aug 14:17

Choose a tag to compare

Contributions

Optimized startup performance

  • Cache the result when checking which platform is in use.
  • Show a status message with the elapsed time if the editor loads in less than 90 milliseconds.

o launches in less than 90 milliseconds on most systems I have tried it on.

  • These things are only loaded when needed:
    • The search history.
    • The path to utilities that can format code (like ktlint).
    • Template/example programs (that can be inserted by pressing ctrl-w in empty files).
    • The path to clipboard-related utilities (like xclip or wl-copy)

Programming language support

  • Add experimental support for ALGOL 68, Fortran 77, Fortran 90 and F#.
  • Let ctrl-g try to jump to definitions within the same file before trying to jump to definitions within other files.
  • Use ctrl-b instead of ctrl-t to jump back after having jumped to a definition.
  • If a directory with the same name as the executable name for a C or C++ program is found when compiling, use main as the name.

Related to read-only files

  • Add an -m flag for opening files as read-only and monitoring them for changes.
  • Let return show a status message if pressed within a read-only file.
  • Enable syntax highlighting when opening read-only files in /usr/share/doc or /usr/include (as opposed to coloring everything red).

Various

  • When trying to open a file named release, but no such file exists, only a directory named release and a file named release.sh, then open release.sh.
  • Further improve how /etc/fstab files are formatted.
  • Use slightly smarter chmod +x behavior when saving shell scripts.
  • Add a menu option for being able to switch between the primary and secondary clipboard, on Linux.
  • Only display the program version in the ctrl-o menu the first time the menu is being displayed after starting the executable.
  • Alleviate an issue where the VTE/GUI application could exit if o opened small text files too fast.
  • Minor changes to the Makefile.
  • Improve some status messages.
  • Some refactoring.
  • Minor changes to the built-in game.
  • Update documentation.
  • Update dependencies.

This release was compiled with Go 1.21 on Arch Linux.

Orbiton 2.62.9

30 Jul 11:14

Choose a tag to compare

  • Update the Makefile

Orbiton 2.62.8

30 Jul 09:36

Choose a tag to compare

Fixes

New features

  • Press ctrl-g to "jump to definition" and ctrl-t to jump back. If there is nowhere to jump, ctrl-g and ctrl-t will toggle the status bar or record a macro, respectively, as before. This has only been tested on Go source code, and is an experimental feature.

Performance improvements

  • Revert back to use os.ReadFile instead of the custom implementation that did not call os.Stat (as os.ReadFile does). The performance improvements for the custom way of reading files only applied to some filesystems and setups (XFS + NVMe).

Changes to the VTE/GUI application

  • Add Orbiton Light and an Orbiton Dark menu entries (.desktop files).
  • Fix an issue where Orbiton Light would open read-only files with a dark background instead of a light one.

Other changes

  • Minor changes to the ctrl-g status bar information layout.
  • Show Exit without saving as the last menu option for the ctrl-o menu, except if the parent process is ag, find or rg, in which case Kill parent and exit without saving is offered instead. This combines well with this bash function: fo() { find . -type f -wholename "*$1" -exec o {} $2 \;; }

This release has been compiled with Go 1.20.6.