Release v1.1.0
[v1.1.0] – 2026-07-19
Added
-
Bundled filetype plugin (
ftplugin/xxd.vim) with dump-editing
defaults —tabstop=10,expandtab,shiftwidth=3(one hex byte),
no automatic formatting, wrapping or indenting — applied to any
buffer withfiletype=xxdand fully reverted viab:undo_ftplugin
when the hex view is toggled off (including buffers whose original
filetype was empty, where noFileTypeevent fires). Suppress with
let b:did_ftplugin = 1in a personalftplugin/xxd.vim, or
override individual settings inafter/ftplugin/xxd.vim
(:help hexpair-ftplugin). -
g:hexpair_paste(default on): the global'paste'option is
switched on while the cursor is in a hex-mode buffer and restored to
its previous value when the cursor leaves it or hex mode is toggled
off, so insert-mode mappings and abbreviations cannot mangle typed
hex; all other buffers keep the user's own'paste'state. The
buffer's'expandtab'is preserved across the switch. -
Dump validation: a character in the hex area that is not a hex
digit, or an odd total number of hex digits, now aborts:wand
hex-mode toggle-off with an error and the cursor parked on the
offender, instead of silently dropping data — the file on disk and
the dump keep their previous content. This also limits the damage
after anuthat undid the conversion itself: the non-dump content
is refused rather than converted. -
:e/:e!while hex mode is active now regenerates the dump from
the freshly read file and keeps hex mode and the cursor byte offset,
instead of leaving raw binary content in a buffer that still
believed it was a dump.
Changed
- Documented mapping examples now use the conventional
<Leader>
prefix instead of§, which only exists on some keyboard layouts
(e.g. Czech); the plugin still defines no mappings of its own. The
help and README now also explain the<Leader>/mapleaderand
<Plug>mechanisms for readers new to them.