A Neovim plugin that toggles words between predefined pairs using pure Lua.
nvim-toggler is a Neovim plugin that toggles words between opposite pairs, such as switching 'true' to 'false' or 'yes' to 'no'. It solves the problem of manually editing repetitive text by providing quick inversion directly in the editor. The plugin is implemented purely in Lua for seamless integration with Neovim's ecosystem.
Neovim users who frequently edit code or text requiring word opposites, such as developers toggling boolean values or writers adjusting antonym pairs.
Developers choose nvim-toggler for its lightweight, configurable design and pure Lua implementation, offering a faster alternative to manual replacements or more complex plugins.
invert text in vim, purely with lua.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Implemented entirely in Lua, ensuring seamless integration with Neovim's ecosystem and no external dependencies, as highlighted in the README.
Users can define custom inverse pairs and keybindings through the setup() function, allowing for personalized workflows tailored to specific needs.
Lightweight design with options to remove default keybinds and inverses, making it unobtrusive for those who prefer a clean plugin setup.
Supports popular plugin managers like packer.nvim and vim-plug, with straightforward installation and configuration steps outlined in the README.
Only toggles single words under the cursor, not inherently supporting phrases or multiple selections without additional custom keymaps, which can be restrictive for complex edits.
The default inverse pairs are minimal, often requiring users to manually add custom mappings for domain-specific terms, increasing initial setup time.
Built specifically for Neovim and reliant on Lua, making it incompatible with standard Vim or other editors, thus limiting its potential user base.