Configuration-free text editor and IDE limited to VT100. Suitable for writing git commit messages, editing Markdown, config files, source code, viewing man pages and for quick edit-compile cycles when programming. Has syntax highlighting, jump-to-error, rainbow parentheses, macros, tab completion, cut/paste portals and a simple gdb front-end.
BSD-3-CLAUSE License
Bot releases are hidden (Show)
ctrl-c
.ctrl-k
a bit faster, when removing lines or deleting to the end of the current line.Published by xyproto 8 months ago
Published by xyproto 8 months ago
o
.#
as the single line comment marker for R and Ruby.autopep8
to black
as the tool used to format Python code when ctrl-w
is pressed.ktlint
parameters (for formatting Kotlin).Published by xyproto 10 months ago
Published by xyproto 10 months ago
ctrl-c
is pressed.SIGWINCH
happens.esc
is pressed after ctrl-l
has been pressed.x.*
).-i
flag for being able to specify an input file for when the program is being built and run with double ctrl-space
. This can be useful when solving Advent of Code tasks. The default input file is input.txt
, if it exists.ctrl-g
look for more files when searching for definitions.kotlin-native
by default for Kotlin code if kotlin-native
is installed. Look for kotlinx.cinterop
.ctrl-g
is pressed, then clear the search, but don't stop there.Export
menu option on macOS, for exporting Markdown to HTML
if ctrl-space
might not be available.Makefile
.deadcode
utility.Published by xyproto 11 months ago
ctrl-w
in a blank file).ctrl-t
as an alias for toggling checkboxes in Markdown (ctrl-space
can be used to toggle them).ctrl-n
or ctrl-p
, do not insert an n
or p
if it is pressed within 50 ms of browsing up and down. This helps avoid stray n
or p
letters by accident after browsing up and down repeatedly.o -l
on the command line, make sure to quote strings that looks like filenames.ctrl-space
twice, only trim whitespace from the right side of the output (and also display a couple more lines).ktlint
.while {
statement in Kotlin.Published by xyproto 12 months ago
ctrl-n
or ctrl-p
.Published by xyproto 12 months ago
ctrl-l
to jump somewhere, also let ctrl-n
and ctrl-p
work in this mode.--help
output.Published by xyproto 12 months ago
ctrl-p
and ctrl-n
, display a mini map on the right side.-d
flag for also creating directories when opening a new file within one or more new directories.Teal
theme.ctrl-w
to format code also work for Go files where no go.mod
file is present.go.mod
in parent directories before building.dkorunic/betteralign
utility.ctrl-o
menu, move Delete the rest of the file
up a bit, so that the shortcut key will be d
.wordWrap
function to a separate package.Published by xyproto about 1 year ago
ctrl-space
do nothing when viewing a man page, instead of toggling to the raw bytes.main.go
file with ctrl-space
and no go.mod
file exists, then run go build main.go
and not just go build
.ctrl-l
is pressed, clear the search before highlighting letters that can be jumped to.ctrl-b
) and the cursor position.PKGBUILD
files with ctrl-space
(this is an experimental feature).osudo
act like EDITOR=o visudo
(this depends on visudo
being present, for now).JumpToLetterColor
from the theme when highlighting letters to jump to when ctrl-l
is pressed.YAML
files.Dockerfile
s.ctrl-space
or ctrl-t
toggle checkboxes in Markdown documents instead of ctrl-w
.HTML
and XML
files.Published by xyproto about 1 year ago
main.py
file, insert an example program with ctrl-w
and run it by pressing ctrl-space
twice.MANPAGER=o
.ctrl-j
(stay at the start of the line if it is pressed repeatedly).ctrl-b
after jumping to a definition within the same file with ctrl-g
.GOEXPERIMENT=loopvar
feature of the Go compiler in the Makefile
.open
instead of xdg-open
on macOS.Published by xyproto about 1 year ago
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.ctrl-j
.--help
output.Tab
key behavior when the user is inputting text.o -l
(view last executed external command) more usable by also saving file export commands.0xcd 0xbe
) in addition to the already disallowed non-breaking space (0xc2 0xa0
) and annoying tildes (0xcc 0x88
). This is opinionated, but removes annoyances.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.Dockerfile
(For Docker images and containers) and Modelfile
(For Ollama / LLMs).ctrl-space
if Lilypond is installed.ctrl-space
, if open
or xdg-open
is available, together with a PDF viewer like ie. evince
or okular
.make trace
).Makefile
to install the right Orbiton Light icon + rename an icon file.ctrl-o
menu.ctrl-o
menu option for inserting time and date.ctrl-t
.Published by xyproto about 1 year ago
golint
.ctrl-g
status bar text.--copy
and --paste
as aliases for -c
and p
.Published by xyproto about 1 year ago
CXXFLAGS
in the Makefile
.Published by xyproto about 1 year ago
-r
both clear file locks and close the copy/paste portal.Published by xyproto about 1 year ago
nano
or nan
to the o
executable makes the editor behave similar to Nano (and similar to the Nano mode in Pico). The meta
/alt
keybindings are not implemented yet, but most of the ctrl
keybindings are.ctrl-l
to jump to a line, percentage, ratio or to the t
op, m
iddle or b
ottom, also highlight a selection of letters and make it possible to jump directly to those.Gray Mono
and Litmus
.ctrl-c
to copy text, run it in the background.ctrl-f
is pressed and one starts typing) to make typing in text to search for feel more responsive.ctrl-f
and then just return
search for the word at the cursor, if any.ctrl-f
, make it possible to paste in the text to search for with ctrl-v
.ctrl-f
and then t
to search for the next typo, and then ctrl-a
to add the word to the dictionary or ctrl-i
to ignore it. This is an experimental feature, and the modifications to the word list are not persistent.ctrl-o
and theme menuctrl-o
menu, also make it possible to also hold ctrl
for many of the letters, as a convenience.ctrl-o
menu for splitting a line by space (but not if the space is within ()
, []
or {}
).ctrl-space
twice.ctrl-space
fails.Cargo.
and both Cargo.lock
and Cargo.toml
exists; open Cargo.toml
and let .lock
have a lower priority.CMakeLists.txt
template (can be inserted into an empty CMakeLists.txt
file with ctrl-w
).-l
) for printing the last used external command (build/export/format command).ctrl-_
jump to a matching parenthesis instead of ctrl-p
.ctrl-space
correctly.ctrl-space
to render Markdown to HTML, to make it less likely to press by accident.README.md
file.github.com/xyproto/files
.Published by xyproto about 1 year ago
TODO.md
(thanks @felixonmars).o
launches in less than 90 milliseconds on most systems I have tried it on.
ktlint
).ctrl-w
in empty files). xclip
or wl-copy
)ctrl-g
try to jump to definitions within the same file before trying to jump to definitions within other files.ctrl-b
instead of ctrl-t
to jump back after having jumped to a definition.main
as the name.-m
flag for opening files as read-only and monitoring them for changes.return
show a status message if pressed within a read-only file./usr/share/doc
or /usr/include
(as opposed to coloring everything red).release
, but no such file exists, only a directory named release
and a file named release.sh
, then open release.sh
./etc/fstab
files are formatted.chmod +x
behavior when saving shell scripts.ctrl-o
menu the first time the menu is being displayed after starting the executable.o
opened small text files too fast.Makefile
.This release was compiled with Go 1.21 on Arch Linux.
Published by xyproto about 1 year ago
Published by xyproto about 1 year ago
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.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).Orbiton Light
and an Orbiton Dark
menu entries (.desktop
files).Orbiton Light
would open read-only files with a dark background instead of a light one.ctrl-g
status bar information layout.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.
Published by xyproto about 1 year ago
ctrl-w
.vt100
and textoutput
, which improves the performance of the "happy path" and also optimizes the most time consuming functions, as reported by go tool pprof
.os.Stat
. Related graph, where the X-axis is for approximately how large the files that are being read are (take1024
is the one that uses 1024-byte buffers when reading):/tmp
and also -
to the location history.