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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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