Alex Rivera | Logout

How to know commands I've been typing?

Asked 2012-03-11T15:25:58.323
13

I'm using gVim and I would like to know if there is a way to see the commands I've been typing.

For example, when I pressed the visual mode (v) I've got message -- Visual --, but I don't know which letters I've been pressing so far.

Is there a way to permanent see which characters/commands I've typing?

Edit
Report

1 Answer

2

You could set this up:

alias vim="vim -W ~/.last_vim_session_key_pressed"

But this file is written only when you exit vim. You can source it with vim -s but beware, with vim gui versions you can have problems.

answered 2012-03-12T15:44:08.443

Your Answer