https://github.com/erf/vid
A minimal vi-like text editor for modern terminals written in Dart ✨
https://github.com/erf/vid
console-application dart terminal text-editor vim-like
Last synced: 29 days ago
JSON representation
A minimal vi-like text editor for modern terminals written in Dart ✨
- Host: GitHub
- URL: https://github.com/erf/vid
- Owner: erf
- Created: 2023-01-05T03:24:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-07T23:32:39.000Z (4 months ago)
- Last Synced: 2025-01-12T05:46:36.158Z (4 months ago)
- Topics: console-application, dart, terminal, text-editor, vim-like
- Language: Dart
- Homepage:
- Size: 1.05 MB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vid
A minimal vim-like text editor for modern terminals written in [Dart](https://dart.dev/overview)
> Made for myself for fun and learning and not meant to replace your current editor
## Features ✨
- Basic vim motions and operators with minimal command mode
- Properly render and edit emojis and wide characters
- Unlimited undo and redo
- Multiple text wrap modes: no-wrap, character-wrap, word-wrap
- Remember last cursor position per file## Technical Details 🛠️
- Written in Dart using the [characters](https://pub.dev/packages/characters) package for handling grapheme clusters
- Built for modern terminals that support [mode 2027](https://github.com/contour-terminal/terminal-unicode-core) like [Ghostty](https://github.com/ghostty-org/ghostty) and [WezTerm](https://github.com/wez/wezterm)## Non-goals ❌
- Syntax highlighting
- Plugins
- 100% vim compatibility
- Window manager (just use terminal tabs/splits)## Keyboard Shortcuts
See [bindings.dart](lib/bindings.dart) for the full list of vim-like key mappings.
## Configuration
See [config.dart](lib/config.dart)
## Contributing
I'm open to PR's that align with vid's minimal philosophy.
I don't accept issues solely for suggestions.