title: Vim commands log
body: <p>Is it possible to log all commands I type in VIM for later analyzing? I mean each simple command like motions or changing the text, i.e. <code>jjjjjjkkkcw&lt;newword&gt;</code></p>
  
  <p>If it is not possible in VIM, maybe there is a keylogger on linux, which can be attached to specific window/process?</p>
  
  <p>I'd prefer in-vim logging, because it could have options to have different logs for different vim modes. Also I don't want to log "colon" commands.</p>