/vim-undoclear

Vim plugin to clear undo history for current (or specified) buffer(s)

Primary LanguageVim scriptMIT LicenseMIT

vim-undoclear

This is a very simple vim plugin that adds the command :UndoClear.

Usage

To reset the history of the current (%) buffer:

:UndoClear

To reset the history of the alternate (#) buffer:

:UndoClear #

Installation

If manage your vim plugins with pathogen then installation is as simple as:

$ cd ~/.vim/bundle && git clone https://github.com/thedward/vim-undoclear.git

Otherwise, consult your plugin manager's documentation (or your vim documentation if you do not use a plugin manager)