https://github.com/tmccombs/ansify.nvim
Minimal nvim plugin to use the terminal mode to process ansi escape codes
https://github.com/tmccombs/ansify.nvim
Last synced: 5 days ago
JSON representation
Minimal nvim plugin to use the terminal mode to process ansi escape codes
- Host: GitHub
- URL: https://github.com/tmccombs/ansify.nvim
- Owner: tmccombs
- License: apache-2.0
- Created: 2025-03-26T06:36:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-11-27T08:56:33.000Z (8 months ago)
- Last Synced: 2025-11-30T02:37:47.007Z (7 months ago)
- Language: Lua
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansify.nvim
This is a simple, and fairly minimal Neovim plugin that allows you to view content that contains ANSI escapes as intended within
the editor, using Neovim's terminal functionality to process the escapes.
# Requirments
The main branch, and versions 2.0.0 and later require Neovim version 0.12 or later.
# Documentation
The full documentation is in [doc/ansify.txt](doc/ansify.txt).
# Acknowledgments
- https://github.com/neovim/neovim/issues/30415#issuecomment-2368519968 for the start of the implementation, although this has added some additional functionality
- https://github.com/kovidgoyal/kitty/issues/719 for some ideas on how to handle kitty's scrollback buffer with Neovim
# Alternatives
There are some other plugins I'm aware of that solve similar problems. However, these
either don't take advantage of Neovim's terminal mode, or in the case of
kitty-scrollback.nvim, are larger and more complicated than what I needed.
- https://github.com/m00qek/baleia.nvim processes escapes in Lua code
- https://github.com/powerman/vim-plugin-AnsiEsc processes escapes with vimscript
- https://github.com/mikesmithgh/kitty-scrollback.nvim If you are using this exclusively for viewing scrollback with kitty