vim-line 0.20.0

A line-oriented vim motions library for TUI applications
Documentation

vim-line

A vim-style single-line editor library for Rust TUI applications. Provides modal editing with normal and insert modes, common vim motions, and customizable keybindings.

Part of the Seq Workspace

This crate is part of the Seq programming language project, but can be used independently in any Rust TUI application.

Related Crates

Crate Description
seq-compiler Compiler and CLI
seq-runtime Runtime library
seq-lsp Language Server Protocol implementation
seq-repl Interactive TUI REPL
vim-line Vim-style line editor (this crate)

Features

  • Modal editing (normal/insert modes)
  • Common vim motions: h, l, w, b, e, 0, $, ^
  • Editing commands: x, dd, D, C, r, ~
  • Text objects: iw, aw
  • Undo/redo support
  • Works with ratatui

License

MIT