A Neovim plugin for quickly changing keyword case with extensible modes and built-in cases like camelCase and snake_case.
Coerce is a Neovim plugin that enables developers to quickly change the case of keywords and selected text within the editor. It solves the problem of tedious manual case changes by providing instant transformations through keyboard shortcuts, supporting common cases like camelCase and snake_case, along with custom extensions.
Neovim users who frequently refactor code or text and need efficient case conversion tools, particularly developers working with multiple naming conventions or international text.
Developers choose Coerce for its simplicity, extensibility, and seamless integration with Neovim's ecosystem, including LSP rename and Which Key, offering a lightweight yet powerful alternative to more complex text manipulation plugins.
A Neovim plugin for changing keyword case.
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 nine built-in cases including camelCase, snake_case, and numeronyms, covering most programming naming conventions without extra setup.
Works in Normal, Visual, and motion-based selections with configurable keymaps, allowing versatile text targeting as shown in the default mode table.
Offers a Lua API to register custom cases and modes, enabling tailored transformations like adding lowercase or proprietary formats.
Integrates with LSP rename for refactoring and supports Which Key for hints and nvim-notify for notifications, enhancing workflow efficiency.
Requires the Coop plugin, adding overhead for users who prefer minimal setups or have dependency conflicts.
Focused solely on case conversion, lacking broader text manipulation capabilities like those in Text-case, as admitted in the comparison table.
Setting up custom modes or disabling features like LSP rename requires Lua coding, which can be steep for non-programmers or those new to Neovim.
coerce.nvim is an open-source alternative to the following products: