Skip to content

dstokes/vimlex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vimlex

A vim log lexer

example

Quick pattern stats:

  cat /path/to/vim/logs* | vimlex | sort | uniq -c | sort -nr | head -n7
  2835 k
  2827 j
  1307 l
   821 h
   152 w
   136 :
   114 d
   ...

setup

Track vim keystrokes by creating an alias that uses the scriptout flag:

  alias vim="vim -w ~/vimlogs/\$(date '+%Y%m%d').$RANDOM.log"

This will write keystrokes to the supplied file when vim is closed.

install

$ go get github.com/dstokes/vimlex

Make sure your PATH includes your GOPATH bin directory:

export PATH=$PATH:$GOPATH/bin

About

A parser / lexer for vim log keystrokes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages