Description
vis is a modal text editor that combines the modal editing of vi and Vim with the structural regular expression command language of Plan 9's sam. It supports multiple cursors and selections, and handles Unicode and very large, binary or single-line files. Syntax highlighting uses parsing expression grammars, written with Lua and LPeg. The editor core is written in C99, and the README says it is meant to run in resource-constrained environments and be easy to hack on. Vis has a Lua API for in-process extensions, and the project also documents a C API. Its stated goal is simplicity and efficient text management, so clipboard handling, digraphs and a fuzzy file open dialog are provided by separate utilities. The README says it does not aim to be bug-for-bug compatible with vi or Vim, and lists non-goals such as tabs, a built-in file browser and file archive support. To build it you need a C99 compiler, a POSIX environment and curses, plus optional Lua and LPeg for highlighting. The build is ./configure, make and make install. The source is public on GitHub.…
Highlights
- Modal editing with multiple cursors
- Structural regular expression commands
- Handles large, binary and single-line files
- Syntax highlighting with LPeg grammars
- Lua and C APIs for extensions
Ratings & Reviews
No ratings yet
Be the first to rate Vis.
People also visit
Vis FAQ
What is vis?
A terminal text editor that combines vi-style modal editing with the structural regular expressions of Plan 9's sam.
How do I build it?
You need a C99 compiler and curses. Run ./configure, make and sudo make install. Lua and LPeg are optional and enable syntax highlighting.
Is it compatible with Vim?
Not bug for bug. The README says the goal is more powerful editing based on a clean design, not full vi compatibility.
Can I extend it?
Yes. It has a Lua API for in-process extensions, and the project also documents a C API.
Does it have tabs or a file browser?
No. The README lists tabs, workspaces, a file browser and archive support among its non-goals.
Is it free?
Yes. The source is public on GitHub.
What are the best Vis alternatives?
Popular alternatives to Vis include Bim and Aretext. See all Vis alternatives

