flow-website/content/index.smd
2025-02-10 21:15:22 -05:00

61 lines
1.6 KiB
Text

---
.title = "Flow Control - a programmer's text editor",
.date = @date("2020-07-06T00:00:00"),
.author = "Igor Támara",
.layout = "home.shtml",
.draft = false,
---
[]($video.siteAsset('video/flow-control.mp4').controls(true))
## 🚀 Features
- **Lightning Fast** TUI with ≤6ms response times
- **Tree-sitter** powered syntax highlighting
- Multi-cursor editing & mouse support
- Cross-platform (Linux/macOS/Windows/Android)
- VSCode/Vim keybindings + custom schemes
- Hybrid rope/piece-table buffer system
## 📦 Installation
### Prebuilt Binaries
- Stable: [Releases](https://github.com/neurocyte/flow/releases)
- Nightly: [Nightly Builds](https://github.com/neurocyte/flow-nightly/releases)
### Build from Source
```bash
# Basic build
zig build -Doptimize=ReleaseSafe
# Cross-compile examples
zig build -Dtarget=x86_64-windows --prefix zig-out/win64
zig build -Dtarget=aarch64-linux-musl --prefix zig-out/arm-linux
```
## 🛠️ Basic Usage
```bash
flow file.zig:42 # Open at line 42
flow --language zig CMakeLists.txt # Force file type
```
## ⌨️ Key Controls
| Command | Action |
|--------------------|----------------------|
| `F2` | Switch input mode |
| `Ctrl+Shift+P` | Command palette |
| `Ctrl+F2` | View all keybindings |
## 🛣️ Roadmap
**In Development**:
- LSP completion support
- Persistent undo/redo
- File watcher integration
**Future**:
- Collaborative editing
- Plugin system
- Multi-terminal sessions
## 💬 Community
Join our [Discord server](https://discord.com/invite/4wvteUPphx) or discuss on [GitHub Discussions](https://github.com/neurocyte/flow/discussions)