Bim 1.0.1
Bim is a simple, small, terminal-based text editor with syntax highlighting.
This is the first versioned release of Bim. It has been tested on ToaruOS, Linux, FreeBSD, macOS, and Sortix. It has been successfully compiled with gcc, clang, and tcc. Terminal testing has been done in ToaruOS's Terminal, Gnome-Terminal, XFCE-Terminal, urxvt, xterm, uxterm, Linux and FreeBSD consoles, iTerm2, and macOS's Terminal.app, as well as within screen
and tmux
.
Syntax highlighting support is included for C/C++, Python, and Make, as well as Bim's own configuration files, git commit messages, and ToaruOS's shell syntax.
Several color themes are included. The default theme should be compatible with most terminals. 256-color and 24-bit color themes are also included, such as the 24-bit sunsmoke
theme featured in the screenshot above. Note that 24-bit color themes may be completely broken in some terminals that do not support them.
Please see the README for a list of keybindings.
What's New in this Release
- Support for
tmux
and other terminals without BCE support has been added with-O nobce
option. - Changes have been made to the syntax highlighter.
- Support for highlighting
diff
patches has been added.
FAQs
Bim doesn't work in my terminal, what do?
See if some combination of -O
options fixes things. If so, you can add an entry to detect_weird_terminals
and send a pull requrest.
Why is this a single 6000-line source file?
tl;dr: historical reasons; bim is designed to work with ToaruOS's userspace single-file-app build system, which normally handles apps less than 1000 lines. Being 6000 lines is also good for using bim's own source to test bim's handling of large files ;)
How do I build this?
make
sudo make install