teju85 / cmdlogger-el

Emacs Lisp module to log commands/keystrokes entered during the emacs session

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

INSTALL

Installation process is currently manual. (I hope to add this to MELPA soon)

git clone https://github.com/teju85/cmdlogger-el
;; add this in your .emacs file
(add-to-list 'load-path /path/to/cmdlogger-el)

CAUTION

Kindly note that the file 'cmdlogger/main-file' contains everything you have typed while inside the emacs session. So, it's generally NOT a good idea to share it with others! If you plan to do, it will be at your own risk.

USAGE

Include the following lines in your .emacs file:

(require 'cmdlogger)
(cmdlogger-mode t)

To disable this mode temporarily in your session:

(cmdlogger-mode nil)
;; do you secret-stuff here!
(cmdlogger-mode t)

Use customize to figure out variables that can be customized.

ANALYSIS

There's a very simple analysis script which just summarizes the entire history of keys/cmds stored so far. It needs quite a bit of polishing, but for now this should be a good start.

./analyze.py /path/to/your/keys.txt Summarizer

About

Emacs Lisp module to log commands/keystrokes entered during the emacs session


Languages

Language:Emacs Lisp 53.5%Language:Python 46.5%