refactoring.nvim is a Neovim plugin developed to bring powerful automated code refactoring capabilities to one of the most popular text editors among programmers, giving developers a suite of refactoring operations that streamline repetitive restructuring tasks inside the editor. Built around an intuitive set of commands and a Lua API, the plugin allows users to extract and inline variables or functions, pull blocks of code into new files, and modify code structure without leaving the comfort of Neovim’s modal interface. It integrates with built-in Neovim selection modes and can work with third-party tools like Telescope to present refactoring options quickly, enabling rapid transformation of code patterns. Beyond pure refactor actions, the plugin includes debugging helpers that insert print statements or remove them, aiding developers in tracing program flow and inspecting variable states as part of iterative development.

Features

  • Inline and extract variables automatically
  • Extract functions and code blocks
  • Integration with Neovim UI and Telescope
  • Automated debug print/cleanup operations
  • Configurable language support
  • Lua API and Ex command interface

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow refactoring.nvim

refactoring.nvim Web Site

Other Useful Business Software
Stigg | SaaS Monetization and Entitlements API Icon
Stigg | SaaS Monetization and Entitlements API

For developers in need of a tool to launch pricing plans faster and build better buying experiences

A monetization platform is a standalone middleware that sits between your application and your business applications, as part of the modern enterprise billing stack. Stigg unifies all the APIs and abstractions billing and platform engineers had to build and maintain in-house otherwise. Acting as your centralized source of truth, with a highly scalable and flexible entitlements management, rolling out any pricing and packaging change is now a self-service, risk-free, exercise.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of refactoring.nvim!

Additional Project Details

Programming Language

Lua

Related Categories

Lua Libraries

Registered

2026-02-17