Skip to content

About

View images on Neovim via Sixel

Topics

Resources

Stars

25 stars

Watchers

2 watching

Forks

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sixelview.nvim

View images within your Neovim via Sixel!

Disclaimer

This plugin is in experimental state. So sometimes displayed contents of a buffer break. When you encounter this issue, type <C-l> to reload a screen.

DEMO

demo

Requirements

  • Terminal which supports Sixel (Alacritty, Wezterm, iTerm2, etc)
  • libsixel
    • For MacOS user, brew install libsixel

Installation

Lazy.nvim

{
	"kjuq/sixelview.nvim",
	opts = {},
}

After installing this plugin, a image will be shown when a buffer which loads an image file is opened.

Configuration

{
	"kjuq/sixelview.nvim",
	opts = {
		-- a table to specify what files should be viewed by this plugin
		pattern = {},
		-- whether to show an image automatically when an image buffer is opened
		auto = true,
		-- time of delay before showing image
		-- try setting this duration longer if you have a trouble showing image
		delay_ms = 100,
	},
}

User Command

SixelView

View image manually. Use this within a buffer which loads an image file.

About

View images on Neovim via Sixel

Topics

Resources

Stars

25 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages