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
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
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