Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/visPublic
forked frommartanne/vis

A vi-like editor based on Plan 9's structural regular expressions

License

NotificationsYou must be signed in to change notification settings

thimc/vis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

builds.sr.ht statusCoverity Scan Build StatuscodecovDocumentation Status#vis-editor on libera

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 multiplecursors/selections and combines it withsam'sstructural regular expressionbasedcommand language.

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

Efficient syntax highlighting is provided usingParsing Expression Grammars,which can be conveniently expressed usingLuain the form ofLPeg.

The editor core is written in a reasonable amount of clean (your mileagemay vary), modern and legacy-free C code, enabling it to run inresource-constrained environments. The implementation should be easy to hack onand encourages experimentation. There is also a Lua API for in-processextensions.

Vis strives to besimple and focuses on its core task: efficient textmanagement. Clipboard and digraph handling as well as a fuzzy file opendialog are all provided by independent utilities. There exist plans to usea client/server architecture, delegating window management to your windowingsystem or favorite terminal multiplexer.

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

vis demo

Build instructions

In order to build vis you will need aC99compiler, aPOSIX.1-2008compatible environment as well as:

  • libtermkey
  • curses (recommended)
  • Lua >= 5.2 (optional)
  • LPeg >= 0.12(optional runtime dependency required for syntax highlighting)
  • TRE (optional for more memory efficient regex search)

Assuming these dependencies are met, execute:

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

By default theconfigure script will try to auto detect support forLua usingpkg-config(1). Seeconfigure --help for a list of supportedoptions. You can also manually tweak the generatedconfig.mk file.

Or simply use one of thedistribution provided packages.

Documentation

End user documentation can be found in thevis(1) manual pageand theWiki. Read theFAQ for common questions.Learn about some differences compared tosam(1) andvim(1),respectively.

C API as well asLua APIdocumentation is also available.

Non Goals

Some features which willnot be implemented:

  • tabs / multiple workspaces / advanced window management
  • file and directory browser
  • support for file archives (tar, zip, ...)
  • support for network protocols (ftp, http, ssh ...)
  • encryption
  • compression
  • GUIs (neither x11, motif, gtk, win32 ...) although the codebaseshould make it easy to add them
  • VimL
  • right-to-left text
  • ex mode, we have more elegant structural regexp
  • diff mode
  • vimgrep
  • internal spell checker
  • lots of compile time configurable features /#ifdef mess

How to help?

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

Checkout theDeveloper Overviewto get started and do not hesitate to ask question in the#vis-editorIRC channel on libera (join via your browser).

About

A vi-like editor based on Plan 9's structural regular expressions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C52.1%
  • Lua46.7%
  • Other1.2%

[8]ページ先頭

©2009-2025 Movatter.jp