Skip to content

manno/qrencode.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

qrencode-nvim

Generate QR codes from Neovim buffer text or a visual selection using pure Lua, then display the result inside Neovim.

qrencode-nvim screenshot

Features

  • Pure-Lua QR generation at runtime
  • Unicode block rendering directly inside Neovim
  • Commands for whole-buffer and visual-selection encoding

Requirements

  • Neovim

Installation

With lazy.nvim:

{
  "manno/qrencode-nvim",
  opts = {
    ecl = "M",
    border = 4,
  },
}

Usage

Run :QREncodeBuffer to encode the current buffer.

Run :'<,'>QREncodeSelection to encode the current visual selection.

Run :QREncodeClose to close the preview.

Configuration

require("qrencode").setup({
  ecl = "M", -- one of: L, M, Q, H
  border = 4,
})

About

โœจ๐Ÿ’–โœจ๐“ฟ๐“ฒ๐“ซ๐“ฎโœจโœจ๐Ÿ’–

Resources

Stars

Watchers

Forks

Contributors

Languages