Skip to content

Neovim plugin for on-the-fly hexadecimal conversion and analysis. Instantly transform hex values under your cursor into integers, floats, doubles, interpret Unix timestamps, and what not

License

Notifications You must be signed in to change notification settings

vetsE/hexamine.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧐 hexamine.nvim

Hexamine is a Neovim plugin that provides a dynamic floating window for displaying and converting hexadecimal data under the cursor. It features dynamic resizing, automatic repositioning based on cursor movement, and various data type conversions.

Demo

Installation

You can install Hexamine using your favorite package manager.

With Lazy, use:

{
    "vetsE/hexamine.nvim",
    config = function()
        config = {}
        require("hexamine").setup(config)
    end
}

Configuration

Hexamine has a few configuration keys you can use. The default configuration given below contains them all:

config = {
    keymap = {
        close = "<Esc>", -- Default key for closing the floating window
    },
    highlights = { "Normal", "Search" }, -- Highlights used for alternating rows
}

In particular, to disable the alternating row highlights, use the following snippet in the config:

config = {
    highlights = { "Normal", "Normal" }
}

Commands

The plugin provides the following Neovim commands.

:Hexamine

This command opens a floating window at the cursor position.

:HexamineClose

This command closes the floating window opened by :Hexamine.

About

Neovim plugin for on-the-fly hexadecimal conversion and analysis. Instantly transform hex values under your cursor into integers, floats, doubles, interpret Unix timestamps, and what not

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages