Emacs-inspired modern TUI platform and editor. Written in Rust.
Features:
- All-in-one platform for the Terminal; not just an editor.
- Tiling panel managment
- Standard applets written in Rust
- Syntax highlightings
Implemented applets:
- Helium: simple text editor inspired by Emacs
- Thè: text-based terminal emulator
- editbar: polybar-inspired tool bar, customizable with different Widgets
- tabs: contain different Applets insides, switchable using tabs
Coming soon:
- IPC support (
emacsd
-like) - Full customization
- LSP support
- MoonKnight (File explorer and Project tree)
Midnight keybindings:
M+x
: open Command promptM+o
: Open file in HeliumCtrl+n
: New file in HeliumM+q
: Quit midnightM+e
: kill current AppletCtrl+r
: Resize current PanelCtrl+m
: Move current Panel
Helium keybindings:
- Most Emacs keybindings are compatible.
Ctrl+s
: Save current file
Thè keybindings: (No keybindings)
Tabs keybindings:
M+w
: Kill current Tab
git clone https://github.com/djtech-dev/midnight.git
git submodule init
cargo rustc --release --features=[...] -- -C target-cpu=native
You need to insert your selected features. ([]
for a minimalistic experience)
There are two advantages with this method:
- Every single extra feature in Midnight is a Cargo features, so you can choose exactly what will be in your editor and what will be cut off.
-- -C target-cpu=native
uses rustc's features for better optimization for your specific hardware
With the future release of v1.0.0-rc1
(first public release), the executables will be avaiable in Github Releases.