Skip to content

About

TurboVI is a vi clone for the terminal, in about 6,200 lines of Python, 3,800 of them code. It is built on turbodesk and is the one application on that library that draws its own buffer, with no editor() widget under the text.

It was split out of turbodesk on 2026-08-26, where it had lived as examples/vi/ under the name termovi. The showcase half (modal editing over one buffer, no widgets) stayed behind as an example. Everything else moved here and grew the parts an example does not need: several files, split windows, crash recovery, .editorconfig, find-in-project.

What is here

Modes, counts, and the ["x] [count] operator [count] motion grammar. Operators d c y > < gu gU g~ gc ! work with doubling, motions and text objects, words, brackets, quotes, paragraphs and tags. Registers, marks, macros, . repeat, undo and redo. Search with / ? n N * #, ignorecase and smartcase, substitution with :s and its ranges and flags. gc toggles comments, Ctrl+A changes numbers, and ! runs lines through any shell command. Several buffers, split windows in a grid, a fuzzy file picker, find-in-project with a quickfix list and :cdo. gR shows Markdown rendered, and any other format through a command. Syntax colouring over Pygments. Encodings and line endings preserved byte for byte. Crash recovery. Settings come from a config file of ex commands and from .editorconfig. Your terminal keeps its own mouse, so selecting and copying work as they do everywhere else.

What is not here

Differences from vim lists every place TurboVI behaves differently from vim: what was decided on purpose, what is smaller, what is not there yet.

Requirements

TurboVI needs Python 3.12 or newer, and a terminal. Pygments comes in with the syntax extra, which is a hard dependency here because :set syntax is not optional in an editor.

The system clipboard wants pbcopy/pbpaste on macOS, or wl-copy/wl-paste or xclip on Linux. "+y also goes out over OSC 52 and works without any of them, on a terminal that honours it; "+p cannot, because reading back means waiting for an answer, so with no helper installed it finds the clipboard empty.

Licence

Apache-2.0.

turbodesk. The library underneath builds terminal UIs as pure functions from state to an immutable view tree.

Turbo Python. The other application built on it: an IDE in the shape of Turbo Pascal 7.0, with a desktop of overlapping windows, a debugger and a language-server client. Where TurboVI proves the core can run an app on its own, that one exercises every widget there is.