Releases: xyproto/orbiton
Releases · xyproto/orbiton
Orbiton 2.62.0
- Use the
betteralign
utility to optimize structs. - Improve the man-page functionality so that it also works well on Fedora.
- Always use tabs for makefiles.
- Let
ctrl-n
andctrl-p
jump to matching parenthesis or bracket, but only if the cursor is on one and if the previous keypress was notctrl-n
/ctrl-p
. This way, one can navigate to a parenthesis with the arrow keys and jump to the matching one withctrl-n
/ctrl-p
, but scrolling down repeatedly withctrl-n
or up withctrl-p
will not be stopped. - Let
ctrl-g
show a friendly help message, but whenctrl-g
is pressed a third time, let it either go to definition or toggle the status bar at the bottom. Go to definition is a new experimental feature, is only tested for Go code, and currently only works within the same file. - Press
Esc
4 times in a row as an alternative way of opening thectrl-o
menu. - Let
ctrl-space
render Markdown files to HTML. - Add a menu option in the
ctrl-o
menu for rendering Markdown files to PDF withpandoc
. - Add a "fix as you type" feature that can be enabled in the
ctrl-o
menu if theOPENAI_API_KEY
,OPENAI_KEY
orCHATGPT_API_KEY
environment variables is set to a valid OpenAI API key. Every timereturn
is pressed, the line will be sent to ChatGPT and be corrected. This is an experimental feature. - Also save the search history for "search and replace" (
ctrl-f
, then thetab
key and thenreturn
). - Fix a bug in the
WordAtCursor
function. - Add a command line flag for clearing all file locks.
- Show a status message when pasting through portals.
- Add a Markdown table editor that can be activated by pressing
ctrl-t
while the cursor is on a Markdown table. Within the table editor,ctrl-n
can be used for adding columns,ctrl-d
can be used for deleting empty columns.return
,tab
and the arrow keys also work, see the README.md file for more information. - Let
ctrl-w
format Markdown tables, if the cursor is on one. - Add a menu option for sorting a block of lines.
- Minor improvements to the Agda symbol insertion menu.
- Update dependencies.
- Update documentation.
Orbiton 2.61.0
Orbiton 2.61.0
- Optimize the function that reads in files, and also add better support for loading large single-line files, like some SVG files.
- Add a
-c
flag, for directly copying a file to the clipboard. - Add more tests and benchmarks.
- Remove an unused function.
- Update dependencies.
Orbiton 2.60.6
Orbiton 2.60.6
- Fix the detection of Makefile indentation.
- Add a
-p
flag for pasting the clipboard contents to a new file. - Let
-f -p FILENAME
paste the clipboard to a file, but also overwrite the file if it exists. - Improve the terminal title when using
o
to read man pages with ie.MANPAGER=o man ls
. - Add flags to the README.md file.
- Update dependencies.
Orbiton 2.60.5
Orbiton 2.60.5
- Ignore warnings and notes from the C compiler when building Go programs that uses C.
- Fix the
mode
dependency so that it uses the first 512 bytes to detect the file type. Some man pages have very long first lines. - Fix issues with reading data from
stdin
, ref #14. - Add binary/text detection for data given on
stdin
. - Improve the
version.sh
script so that it also works on macOS. - Improve the
release.sh
script so that it compiles for multiple platforms in parallel. - Update documentation.
- Update dependencies.
Oribton 2.60.4
Performance improvements
- Load files faster, with fewer system calls.
- Postpone loading some files when
o
starts, and load them later on as needed.
Programming language support
- Let double
ctrl-space
build and run Odin programs. - Also let the automatic
iferr
feature work for Odin. - Add initial support for Arduino and
.ino
files.
Syntax highlighting
- Syntax highlight italics in Markdown, for some cases.
- Improve syntax highlighting of URLs in source code.
- Simplify some of the Python syntax highlighting code.
- Minor improvement of the syntax highlighting for Nroff files.
Building and running
- Improve the logic for finding the compiled executable name.
ChatGPT / OpenAI
- Make it possible to enter an OpenAI API key from the
ctrl-o
menu. - Refresh the cursor after generating code.
- Let
Generate
,generate
,Write
andwrite
in single-line comments, with a blank line following, trigger code generation. - Let lines starting with
!
trigger code generation.
GUI/VTE frontend and macOS
- Change the default font for macOS.
- Let the cmd key act similar to the ctrl key on macOS.
- Add a
Build
option in thectrl-o
menu for macOS, sincectrl-space
might not register.
General
- Update documentation.
- Update dependecies.
- Update the CI configuration.
Orbiton 2.60.3
- Fix an issue with reading the
OPENAI_KEY
environment variable. - Fix the file mode for the temporary search and location history files.
- Let search actions be part of recorded macros.
- Check that the next line is blank before generating code with a comment that starts with
Write
. - Add a CMake template.
- Add zombies to the little built-in game.
- Add experimental support for macOS for the VTE GUI application.
- Update documentation.
- Update dependencies.
Orbiton 2.60.2
- Update the
.desktop
file. - Update the release script.
- Fix a typo in
go.mod
that could cause issues for users ofgo install
. - Update documentation.
- Update dependencies.
Orbiton 2.60.1
- Also rename the release files after the project was renamed from O to Orbiton.
- Update dependencies.
Orbiton 2.60.0
- Project rename, from
o
toOrbiton
. The editor executables are still:o
- for the terminalog
- for the VTE GUI
- Add built-in support for formatting
/etc/fstab
files. - Stop the arrow keys from doing anything while code is being generated an inserted by ChatGPT.
- Support more environment variable names for the OpenAI key. Now these are supported:
CHATGPT_API_KEY
,OPENAI_API_KEY
orOPENAI_KEY
, in that order. - Update dependencies.
- Update documentation.
o 2.59.5
- Don't call
os.Getenv
several times. Callos.Environ
once and then cache the variables. This is handled automatically by thegithub.com/xyproto/env/v2
package. There is a tiny performance improvement foro
because of this. - Add a Makefile target for building with the
trace
build tag. - Set the default ChatGPT temperature to
0
, for generating code and to0.8
for generating other text. - In addition to
!
for filetypes other than Markdown, only useWrite
andwrite
as "trigger words" for starting to generate code or text with ChatGPT (and only if theCHATGPT_API_KEY
is set). - Update dependencies.
- Update documentation.