Skip to content
lum1narPublic

About

Just a little peep — without breaking focus.

Topics

Resources

Stars

8 stars

Watchers

0 watching

Forks

Latest commit

 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

peep.nvim 👀

A quick peep at relative numbers — with instant previews for d, y, c, vV

Features ✨

  • 👁 See relative numbers in the column under your cursor - with optional column peek support
  • 🏷 Dual labels highlight the main target and nearby lines for quick orientation
  • 🎯 Works seamlessly in Normal and Visual modes
  • ⚡ Trigger motions like d, y, c, v, V with confidence
  • 🎨 Customize colors, icons, and line previews to match your setup

Installation

Lazy.nvim

{
    "lum1nar/peep.nvim",
    config = function()
        require("peep").setup({
            colors = {
                label_main = { fg = "#A72703", bg = "#FCB53B", },
                label_sub = { fg = "#FCB53B", bg = "#44415a", },
                line_aux = { fg = "#9893a5", },
                line_preview = { fg  = "#7aa2f7" }
            },

            peep = {
                duration = 700,
                column = false,
                auxline_icon = "·",
                key_trigger = true,
                trigger_keys = { "y", "d", "c", "v", "V" },
                line_preview = true
            }
        })
        vim.keymap.set({ "n", "v" }, "<leader><leader>", function() require("peep").peep() end, { desc = "Peep" })
    end
}

About

Just a little peep — without breaking focus.

Topics

Resources

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages