https://github.com/fedorenchik/AnsiEsc
Ansi Escape Sequence Visualization for Vim
https://github.com/fedorenchik/AnsiEsc
ansi-codes ansi-colors ansi-escape-codes ansi-escape-sequences vim-plugin
Last synced: 3 months ago
JSON representation
Ansi Escape Sequence Visualization for Vim
- Host: GitHub
- URL: https://github.com/fedorenchik/AnsiEsc
- Owner: fedorenchik
- Archived: true
- Created: 2017-08-02T17:48:03.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-02-10T03:42:07.000Z (over 4 years ago)
- Last Synced: 2024-11-25T05:30:35.267Z (10 months ago)
- Topics: ansi-codes, ansi-colors, ansi-escape-codes, ansi-escape-sequences, vim-plugin
- Language: Vim script
- Homepage:
- Size: 27.3 KB
- Stars: 7
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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. CampbellUpdated 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 `[FGm%`,
`[ATTR;FGm`, and `[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