Skip to content

kjuq/sixelview.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages