A Neovim plugin for logging keystrokes in order to generate heatmaps
- Log keystrokes to a keystrokes.log data file
- Neovim >= v0.7.0
- Install via your favorite package manager.
-- lazy.nvim
{
"glottologist/keylog.nvim",
opts = {}
},
- Setup the plugin in your
init.lua
. This step is not needed with lazy.nvim ifopts
is set as above.
require("keylog").setup()
keylog.nvim is enabled by default. You can change its state with the following commands:
:Keylog enable
enable keylog.nvim:Keylog disable
disable keylog.nvim:Keylog toggle
toggle keylog.nvim:Keylog clear
clear the keystrokes.log file
Your log file is at ~/.local/share/nvim/keystroke.log
.
Please read CONTRIBUTING.md.