chunkundo.nvim

Smart undo chunking for Neovim

Neovim treats an entire insert session as one undo unit. This plugin breaks it into smaller chunks by time and word boundaries.

Get Started Free

"Pressing u no longer wipes everything"

— Neovim User

"Peace of mind when editing long texts"

— Programmer

Features

Time-based Chunking

Time-based Chunking

Detects typing pauses (default 300ms) and splits undo blocks. Undo long edits incrementally.

Word-based Chunking

Word-based Chunking

Splits on space, tab, enter, punctuation. Fine-grained undo at character level.

Auto-adjust

Auto-adjust

Learns your typing pattern and adjusts interval automatically. Gets better as you use it.

Statusline

Statusline

u+5 (growing), u=12 (confirmed), etc. Real-time chunk status. Works with lualine.

chillout.nvim Integration

chillout.nvim Integration

Uses debounce, throttle, and batch. This plugin is a showcase for chillout.nvim.