Reputation: 26392
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
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
Reputation: 6729
you can check all the commands by looking into .viminfo in your home folder or :history
inside vim
Upvotes: 2