descriptiona vim like text editor
ownermat@brain-dump.org
last changeTue, 20 Apr 2021 19:25:17 +0000 (20 21:25 +0200)
content tags
add:
README.md

Vis - Combining Modal Editing with Structural Regular Expressions

builds.sr.ht status Coverity Scan Build Status codecov Documentation Status #vis-editor on freenode

Vis aims to be a modern, legacy-free, simple yet efficient editor, combining the strengths of both vi(m) and sam.

It extends vi's modal editing with built-in support for multiple cursors/selections and combines it with sam's structural regular expression based command language.

A universal editor, it has decent Unicode support and should cope with arbitrary files, including large, binary or single-line ones.

Efficient syntax highlighting is provided using Parsing Expression Grammars, which can be conveniently expressed using Lua in the form of LPeg.

The editor core is written in a reasonable amount of clean (your mileage may vary), modern and legacy-free C code, enabling it to run in resource-constrained environments. The implementation should be easy to hack on and encourage experimentation. There is also a Lua API for in-process extensions.

Vis strives to be simple and focuses on its core task: efficient text management. Clipboard and digraph handling as well as a fuzzy file open dialog are all provided by independent utilities. There exist plans to use a client/server architecture, delegating window management to your windowing system or favorite terminal multiplexer.

The intention is not to be bug-for-bug compatible with vi(m). Instead,
we aim to provide more powerful editing features based on an elegant design and clean implementation.

vis demo

Build instructions

In order to build vis you will need a C99 compiler, a POSIX.1-2008 compatible environment as well as:

Assuming these dependencies are met, execute:

$ ./configure && make && sudo make install

By default the configure script will try to auto detect support for Lua using pkg-config(1). See configure --help for a list of supported options. You can also manually tweak the generated config.mk file.

Or simply use one of the distribution provided packages.

Documentation

End user documentation can be found in the vis(1) manual page and the Wiki. Read the FAQ for common questions. Learn about some differences compared to sam(1) and vim(1), respectively.

C API as well as Lua API documentation is also available.

Non Goals

Some features which will not be implemented:

How to help?

There are plenty of ways to contribute, below are a few ideas:

Checkout the Developer Overview to get started and do not hesitate to ask question in the #vis-editor IRC channel on freenode.

shortlog
2021-04-20 Galen Abellfiletype: Set "groovy" for Jenkinsfilemaster
2021-04-20 Marc André... ci: verify coverity scan script before using it
2021-04-20 Marc André... ci: verify codecov script before using it
2021-03-28 striker.shvis: Add readline Ctrl+A/E bindings
2021-03-15 xoichadd lua5.4 in configure script
2021-02-15 Marc André... vis: correctly close pipe connected to stdin of externa...
2021-02-11 Marc André... sam: simplify trailing match handling for x/y commands
2021-02-11 Marc André... sam: tweak handling of zero length matches in y commands
2021-02-09 Marc André... gitignore: remove vim specific swap files
2021-01-25 Marc André... test: update
2021-01-25 Marc André... sam: produce empty match at the end of looped range
2021-01-25 Marc And... sam: only skip the last empty match if it follows a...
2021-01-25 Christian Hessebuild: update alpine in docker build to version 3.13
2021-01-20 Marc André... Merge branch 'patch-1' of https://github.com/dallinjdah...
2021-01-19 dallinjdahlAdding .sv extension to verilog syntax highlighter
2021-01-12 parazydfiletype: Detect make shebang for "makefile".
...
tags
3 years ago v0.7 vis version 0.7
4 years ago v0.6 vis version 0.6
6 years ago v0.5 vis version 0.5
7 years ago v0.4 vis version 0.4
7 years ago v0.3 vis version 0.3
8 years ago v0.2 vis version 0.2
8 years ago v0.1 vis version 0.1
heads
3 years ago master
3 years ago scintillua
4 years ago coverity_scan
6 years ago gh-pages
7 years ago selections
7 years ago doc
7 years ago sregex
7 years ago text-dump
forks
Cached version (214s old)
vis/gkirilov.git A few patches for vis repo.or.cz@soba23... 13 months ago
vis/viscopy.git carmelbuenavista32... No commits