Multi-cursor, code editor inspired by JetBrains IDEs, Vibe-coded in Rust, using Amp Code.
Most of the threads, prompts and conversations with the agent is available to view on
my Amp profile.
Download the latest release for your platform from token-editor.com or GitHub Releases.
Requires the Rust toolchain.
git clone https://github.com/HelgeSverre/token
cd token
make setup # Install dependencies
make release # Build optimized binary
make run # Run the editorFor development:
make dev # Run debug build (faster compile)
make watch # Start bacon watch mode- Open a file:
token path/to/file.rsor use Cmd+O - Open a folder:
token path/to/project/or use Cmd+Shift+O - Command palette: Cmd+Shift+A for all available commands
- Toggle sidebar: Cmd+1 to show/hide the file tree
Common shortcuts (Cmd = Command on macOS, Ctrl on Windows/Linux):
| Action | Shortcut |
|---|---|
| Save | Cmd+S |
| Open File | Cmd+O |
| Open Folder | Cmd+Shift+O |
| Command Palette | Cmd+Shift+A |
| Go to Line | Cmd+L |
| Find/Replace | Cmd+F |
| Toggle Sidebar | Cmd+1 |
| Action | Shortcut |
|---|---|
| Undo | Cmd+Z |
| Redo | Cmd+Shift+Z |
| Copy/Cut/Paste | Cmd+C/X/V |
| Select All | Cmd+A |
| Duplicate | Cmd+D |
| Delete Line | Cmd+Backspace |
| Action | Shortcut |
|---|---|
| Add cursor | Option+Click |
| Add cursor above | Option+Option+Up |
| Add cursor below | Option+Option+Down |
| Select next match | Cmd+J |
Note: Option+Option shortcuts are hardcoded and not remappable via keymap.yaml.
| Action | Shortcut |
|---|---|
| Word left/right | Option+←/→ |
| Line start/end | Cmd+←/→ or Home/End |
| Document start/end | Ctrl+Home/End |
| Expand selection | Option+↑ |
| Shrink selection | Option+↓ |
For the complete keybinding reference, see docs/KEYBINDINGS.md.
Configuration files are stored in ~/.config/token-editor/:
| File | Purpose |
|---|---|
keymap.yaml |
Custom keybindings |
themes/<name>.yaml |
Custom themes |
See the documentation for details:
- Keybindings — Customize keyboard shortcuts
- Themes — Create and customize themes
Run make help for the full command list.
| Command | Description |
|---|---|
make build |
Build debug binary |
make release |
Build optimized release binary |
make run |
Run release build |
make dev |
Run debug build (faster compile) |
make test |
Run all tests |
make fmt |
Format code |
make lint |
Run clippy lints |
Token was built primarily through conversations with AI coding assistants, demonstrating effective human-AI collaboration on complex software projects. The development process, methodology, and all 100+ conversation threads are documented publicly.
- Building with AI — The framework used to build Token
- Amp Code Profile — View the conversation threads
| Document | Description |
|---|---|
| KEYBINDINGS.md | Complete keyboard shortcuts reference |
| THEMES.md | Theme customization guide |
| BUILDING_WITH_AI.md | AI-assisted development framework |
| EDITOR_UI_REFERENCE.md | Technical reference for editor geometry |
| ROADMAP.md | Planned features |
| CHANGELOG.md | Version history |
| CONTRIBUTING.md | Contribution guidelines |
This project is licensed under the MIT License.
The included font, JetBrains Mono, is licensed under the OFL-1.1.
