DEV Community

Sunny Tamang
Sunny Tamang

Posted on Edited on

select-undo: A Neovim Plugin for Selective Undo

Introduction

Have you ever wanted to undo just a part of your code in Neovim without affecting the rest of the file? Traditional undo (u) in Vim restores the entire buffer state, which isn’t always ideal when working with specific selections.

That’s where select-undo shines, a Neovim plugin that lets you selectively undo text within a visual selection!

Features

Undo entire lines within a selection
Undo only part of a line
Persistent undo support
Works seamlessly with Neovim’s undo tree

Try It Out!

If you’re a Neovim user who loves precision, give select-undo a try!

Check out the repository: select-undo

Have any feedback or feature requests? Drop a comment below!

Top comments (0)