All Projects → eraserhd → kak-ansi

eraserhd / kak-ansi

Licence: Unlicense license
Kakoune support for rendering ANSI-colored text.

Programming Languages

c
50402 projects - #5 most used programming language
shell
77523 projects
KakouneScript
24 projects
Nix
1067 projects
Makefile
30231 projects

Projects that are alternatives of or similar to kak-ansi

kakoune-extra-filetypes
Extra highlighters for the Kakoune editor
Stars: ✭ 20 (-33.33%)
Mutual labels:  kakoune
kakoune-snippets
Snippet support for kakoune
Stars: ✭ 35 (+16.67%)
Mutual labels:  kakoune
Kakoune
mawww's experiment for a better code editor
Stars: ✭ 7,593 (+25210%)
Mutual labels:  kakoune
kakoune-sudo-write
Write to files using 'sudo'
Stars: ✭ 24 (-20%)
Mutual labels:  kakoune
kakoune-themes
Color schemes for kakoune , extra syntax highlighting and my config
Stars: ✭ 25 (-16.67%)
Mutual labels:  kakoune
smarttab.kak
Automatic handling different styles of indentation and alignment.
Stars: ✭ 52 (+73.33%)
Mutual labels:  kakoune
snippet.kak
Snippets integration for Kakoune
Stars: ✭ 23 (-23.33%)
Mutual labels:  kakoune
powerline.kak
Kakoune modeline, but with passion
Stars: ✭ 49 (+63.33%)
Mutual labels:  kakoune
kakoune-edit-or-dir
File browser for Kakoune
Stars: ✭ 18 (-40%)
Mutual labels:  kakoune
kaktree
File explorer side panel for Kakoune
Stars: ✭ 39 (+30%)
Mutual labels:  kakoune
kakoune-gdb
gdb integration plugin
Stars: ✭ 44 (+46.67%)
Mutual labels:  kakoune
tagbar.kak
Tag viewer for Kakoune
Stars: ✭ 19 (-36.67%)
Mutual labels:  kakoune
kakoune.cr
A command-line tool for Kakoune
Stars: ✭ 42 (+40%)
Mutual labels:  kakoune
kakboard
Clipboard integration for Kakoune
Stars: ✭ 49 (+63.33%)
Mutual labels:  kakoune
connect.kak
Connect a program to Kakoune clients
Stars: ✭ 80 (+166.67%)
Mutual labels:  kakoune
emmet-cli
Emmet command line interface
Stars: ✭ 27 (-10%)
Mutual labels:  kakoune
luar
Script Kakoune using Lua
Stars: ✭ 33 (+10%)
Mutual labels:  kakoune
kakoune-colors
Color schemes for kakoune
Stars: ✭ 15 (-50%)
Mutual labels:  kakoune
kakoune-wiki
Personal wiki plugin for Kakoune
Stars: ✭ 53 (+76.67%)
Mutual labels:  kakoune
kakoune-find
Find and replace on open buffers
Stars: ✭ 30 (+0%)
Mutual labels:  kakoune

kak-ansi

Kakoune support for rendering ANSI-colored text.

Installing

You’ll need a C99-compatible C compiler. The Kakoune plugin will build the filter program automatically if it’s not already built on load. If you want to build it manually instead:

$ make

Usage

This plugin provides ansi-render, ansi-render-selection, ansi-clear, ansi-enable and ansi-disable commands. In addition, when Kakoune is used as a pager, it will automatically execute ansi-enable in the *stdin* buffer to process escape codes when idle.

ansi-render

Removes ANSI escapes from the buffer and adds highlighting for regions that were ANSI-colored.

ansi-render-selection

Removes ANSI escapes from selections and adds highlighting for regions that were ANSI-colored.

ansi-clear

Clear highlighting added by the previous two commands.

ansi-enable

Configures current buffer to run ansi-render on the new data received through fifo.

ansi-disable

Disables automatic rendering of new fifo data.

Contributing

New features and bug fixes should have test coverage in tests/tests.bash where possible. Tests can be run with a modern bash:

$ bash tests/tests.bash
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].