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
Endpoint Management with Remote Control Built In Icon
Endpoint Management with Remote Control Built In

Patch, monitor, and connect to Windows and macOS devices from one console

Splashtop AEM handles patching, alerts, scripts, and inventory, and unattended remote control is included. When something needs hands-on work, you’re one click away instead of switching tools.
Start Free Trial
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