An extended increment/decrement plugin for Neovim, supporting numbers, dates, constants, hex colors, and semantic versions.
dial.nvim is an extended increment/decrement plugin for Neovim, written in Lua. It enhances the standard `<C-a>` and `<C-x>` commands to work with a wide variety of data types including numbers, dates, constants, hex colors, and semantic versions. It solves the problem of limited native increment/decrement functionality by providing a highly configurable system for cycling through complex values.
Neovim users who frequently edit structured data like dates, hex codes, version numbers, or boolean values and want more powerful and customizable increment/decrement operations.
Developers choose dial.nvim for its extensive format support, flexible configuration via Lua, and seamless integration with Neovim's visual mode and dot repeat. It replaces multiple single-purpose plugins with a unified, extensible solution.
enhanced increment/decrement plugin for Neovim.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports diverse data types including n-ary integers, dates, hex colors, and constants like true/false, enabling versatile text manipulation beyond simple numbers.
Allows defining custom augends and groups that activate only in specific filetypes or visual mode, as shown in the example configuration for tailored workflows.
Integrates with visual mode operations, supporting `<C-a>` and `<C-x>` for efficient increment/decrement across multiple lines, enhancing productivity for bulk edits.
Works seamlessly with Neovim's dot repeat (`.`) without overriding default behavior, ensuring consistent and repeatable operations.
No default key mappings are provided; users must set up everything from scratch using Lua or Vimscript, which adds initial overhead.
Requires Neovim >=0.11.0, excluding users on older versions or standard Vim, and may break with future Neovim updates.
Defining user augends involves writing Lua functions for find and add operations, which can be daunting for those unfamiliar with the API.