Releases: xyproto/orbiton
Releases · xyproto/orbiton
Orbiton 2.65.4
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-lto jump somewhere, also letctrl-nandctrl-pwork 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
--helpoutput. - 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
New features
- When browsing up and down with
ctrl-pandctrl-n, display a mini map on the right hand side. - Add a
-dflag for also creating directories when opening a new file within one or more new directories. - Add a new
Tealtheme.
Syntax highlighting
- Improve syntax highlighting for CMake.
- Improve syntax highlighting for
Dockerfilefiles.
Go related
- Let
ctrl-wto format code also work for Go files where nogo.modfile is present. - Look for
go.modin parent directories before building.
Performance
- Improve field alignment by using the
dkorunic/betteralignutility.
General
- Improve the wording in the tutorial.
- Let the quick help border color also look right on light terminal emulator backgrounds.
- In the
ctrl-omenu, moveDelete the rest of the fileup a bit, so that the shortcut key will bed. - Move the
wordWrapfunction to a separate package. - Update dependencies.
- Update documentation.
Orbiton 2.65.2
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-spacedo nothing when viewing a man page, instead of toggling to the raw bytes. - When building a
main.gofile withctrl-spaceand nogo.modfile exists, then rungo build main.goand not justgo build. - When a search is active and
ctrl-lis 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
PKGBUILDfiles withctrl-space(this is an experimental feature). - Let
osudoact likeEDITOR=o visudo(this depends onvisudobeing present, for now).
Look and feel
- Enhance the look and feel of the "quick help" pane.
- Use the
JumpToLetterColorfrom the theme when highlighting letters to jump to whenctrl-lis pressed. - Minor changes to the Synthwave theme.
- Improve syntax highlighting of
YAMLfiles. - Improve syntax highlighting of
Dockerfiles. - Improve syntax highlighting of configuration files.
- Improve a status message.
Various
- Let
ctrl-spaceorctrl-ttoggle checkboxes in Markdown documents instead ofctrl-w. - Improve the detection of
HTMLandXMLfiles.
Orbiton 2.65.1
- Make it possible to open a blank
main.pyfile, insert an example program withctrl-wand run it by pressingctrl-spacetwice. - 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-bafter jumping to a definition within the same file withctrl-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=loopvarfeature of the Go compiler in theMakefile. - Add a status message when pasting multiple lines.
- Use
openinstead ofxdg-openon 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
New features
- Add an experimental built-in English spell checker with fuzzy matching. Press
ctrl-fand entertto search for typos. Then pressctrl-ato add a word,ctrl-ito ignore a word orctrl-nto 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
--helpoutput. - Improve the
Tabkey 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-fsearch history have timestamps, so that it can be culled when it grows too large (currently set to a maximum of1024entries). 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) andModelfile(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-spaceif Lilypond is installed. - Make it possible to both export and open PDF files when editing Lilypond code with a double press on
ctrl-space, ifopenorxdg-openis available, together with a PDF viewer like ie.evinceorokular.
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
Makefileto install the right Orbiton Light icon + rename an icon file.
Various changes
- Move the Pandoc PDF render option to the
ctrl-omenu. - Only have one
ctrl-omenu 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
- Follow the advice of
golint. - Add the total number of lines and which line the cursor is at as a percentage to the
ctrl-gstatus 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
--copyand--pasteas aliases for-candp.
Orbiton 2.64.2
- Update the default
CXXFLAGSin theMakefile.
Orbiton 2.63.1
Contributions
- Correct a typo in
TODO.md(thanks @felixonmars).
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-win empty files). - The path to clipboard-related utilities (like
xcliporwl-copy)
Programming language support
- Add experimental support for ALGOL 68, Fortran 77, Fortran 90 and F#.
- Let
ctrl-gtry to jump to definitions within the same file before trying to jump to definitions within other files. - Use
ctrl-binstead ofctrl-tto 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
mainas the name.
Related to read-only files
- Add an
-mflag for opening files as read-only and monitoring them for changes. - Let
returnshow a status message if pressed within a read-only file. - Enable syntax highlighting when opening read-only files in
/usr/share/docor/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 namedreleaseand a file namedrelease.sh, then openrelease.sh. - Further improve how
/etc/fstabfiles are formatted. - Use slightly smarter
chmod +xbehavior 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-omenu the first time the menu is being displayed after starting the executable. - Alleviate an issue where the VTE/GUI application could exit if
oopened 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
- Update the Makefile
Orbiton 2.62.8
Fixes
- Fix an issue in github.com/xyproto/vt100 that could disturb the colors when code was being syntax highlighted.
New features
- Press
ctrl-gto "jump to definition" andctrl-tto jump back. If there is nowhere to jump,ctrl-gandctrl-twill 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.ReadFileinstead of the custom implementation that did not callos.Stat(asos.ReadFiledoes). 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 Lightand anOrbiton Darkmenu entries (.desktopfiles). - Fix an issue where
Orbiton Lightwould open read-only files with a dark background instead of a light one.
Other changes
- Minor changes to the
ctrl-gstatus bar information layout. - Show
Exit without savingas the last menu option for thectrl-omenu, except if the parent process isag,findorrg, in which caseKill parent and exit without savingis 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.