Extensible, lightweight terminal text editor with syntax highlighting and plugin support.
-q
, has been added for performance testing highlighter. Bim will quietly read and highlight a file and exit without printing it.After nearly a year of neglecting to mark off a release for this, Bim 3 is now properly "Bim 3.0.0".
Bim 3 integrates Kuroko for configuration, as a general scripting language, and for syntax highlighting.
While this makes Bim quite a bit bigger, slower, and harder to build on new platforms, it is the price to pay to make Bim considerably more usable.
If you were looking for a small, pure-C editor to port to a new OS, you can still look at older releases.
This releases adds new features, fixes several bugs, and improves performance.
^W
to delete wordsgit rebase
:tabnew
works like in vim, accepts a filename.
files if requested^V
to insert literal byteindent
is enabledBim 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.
tmux
and other terminals without BCE support has been added with -O nobce
option.diff
patches has been added.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.
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 ;)
make
sudo make install
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
.
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.
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.
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 ;)
make
sudo make install