leeand00
leeand00

Reputation: 26392

How do I get a list of the history of all the vim commands I ran?

I'm aware that much like a bash prompt in Vim you can press : and get a list of all the history commands by pressing up and down.

But is there a way to export this command history into a buffer?

Upvotes: 6

Views: 3308

Answers (2)

Julien Vivenot
Julien Vivenot

Reputation: 2250

:history will show you a history of your commands.

Edit:

In normal mode, q: will open your history in a new buffer.

Upvotes: 9

Saddam Abu Ghaida
Saddam Abu Ghaida

Reputation: 6729

you can check all the commands by looking into .viminfo in your home folder or :history inside vim

Upvotes: 2

Related Questions