Rui
Rui

Reputation: 3673

How to display the content of the cache in vim

Anyone knows how to display the list of content in the cache, which is used for cut,copy,paste,undo,redo etc., in vim?

Upvotes: 1

Views: 682

Answers (1)

Sander Vanhove
Sander Vanhove

Reputation: 1115

To see the registers that are used in copy/paste operations you can use:

:reg

It shows the content of every registry.

The undo/redo history of vim is saved in a tree format and can be viewed with:

:undolist

But it is not presented very handy, so you could make use of plugins like undotree.

If you would like to see the command history, use:

:history

Upvotes: 3

Related Questions