Coder Social home page Coder Social logo

ansiesc's Introduction

Deprecated

Please, consider using https://github.com/chrisbra/Colorizer plugin.

ANSI Highlighting

This is github page of this plugin http://www.drchip.org/astronaut/vim/index.html#ANSIESC by Charles E. Campbell

Updated May 7, 2020 (v13s)

This plugin follows ANSI-escape sequences to colorize subsequent text using vim's syntax highlighting engine.

The AnsiEsc plugin provides a single command: :AnsiEsc, which will toggle ANSI-escape sequence processing. When enabled, AnsiEsc will handle <esc>[FGm%, <esc>[ATTR;FGm, and <esc>[FG;BGm sequences; subsequent text will then be colored appropriately.

With vim 7.2 and earlier, the escape sequence itself will take space but will be suppressed using "Ignore" highlighting. Vim 7.3 comes with Vince Negri's conceal/ownsyntax capabilities built-in. With it, ANSI-escape sequences will have their colorizing effects but will themselves be concealed (again, when AnsiEsc is enabled and one has used set conceallevel=[2 or 3]).

Manual

See doc/AnsiEsc.txt for detailed description.

Installation

If you don't have a preferred installation method, I recommend using Vim's packages feature, simply copy and paste:

mkdir -p ~/.vim/pack/bundle/start
cd ~/.vim/pack/bundle/start
git clone https://github.com/fedorenchik/AnsiEsc.git

ansiesc's People

Contributors

fedorenchik avatar jhclouse avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.