explaingit

davidpdrsn/vim-leaderboard

Analysis updated 2026-07-09 · repo last pushed 2014-11-22

4VimLAudience · developerComplexity · 2/5DormantSetup · easy

TLDR

A Vim plugin that tracks which custom keyboard shortcuts you use while editing and saves the data to a CSV file so you can analyze your workflow habits.

Mindmap

mindmap
  root((repo))
    What it does
      Logs custom shortcuts
      Saves to CSV on quit
      Tracks usage habits
    Use cases
      Find most used commands
      Identify rarely used keys
      Analyze editing patterns
    Tech stack
      VimL
      Vim plugin
      CSV output
    Audience
      Vim users
      Workflow optimizers
    Status
      Early development
      Limited mapping support
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Track which Vim shortcuts you use most to optimize your key mappings.

USE CASE 2

Identify rarely used shortcuts that could be remapped to more convenient keys.

USE CASE 3

Export your editing session history as a CSV for analysis in any spreadsheet tool.

What is it built with?

VimLVim

How does it compare?

davidpdrsn/vim-leaderboardkien/ctrlp.vimyangyangwithgnu/use_vim_as_ide
Stars47,2399,179
LanguageVimLVimLVimL
Last pushed2014-11-22
MaintenanceDormant
Setup difficultyeasyeasyhard
Complexity2/52/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires Vim and defining your shortcuts through the plugin's configuration method.

In plain English

vim-leaderboard is a plugin for the Vim text editor that records which custom keyboard shortcuts you use while editing. It logs each shortcut you trigger, when you used it, and what action it performed. The idea is to give you a record of your own editing habits so you can see which commands you rely on most. To use it, you set up your shortcuts through the plugin instead of Vim's usual configuration method. Each shortcut gets a plain-English description (like "Run tests"), the key combination you press to trigger it, and the actual commands that run when you press those keys. After that, you use your shortcuts exactly as you normally would, the plugin quietly tracks each one behind the scenes. When you quit Vim, the plugin saves your session's history to a CSV file on your computer. Each row records the command's name, the keys you pressed, the full command that ran, and a timestamp. Since the data is in a simple spreadsheet-friendly format, you can open it in any tool that reads CSV files to analyze or visualize your usage patterns however you like. The project is aimed at Vim users who want insight into their own workflow, perhaps to figure out which shortcuts they use most often, or to identify commands they rarely use and might want to remap to more convenient keys. The README notes the plugin is still in early development and doesn't fully work yet, and currently only supports one type of keyboard mapping, with other types planned for later.

Copy-paste prompts

Prompt 1
Help me set up vim-leaderboard in my .vimrc so it starts logging my custom keyboard shortcuts with descriptions like "Run tests".
Prompt 2
Write a Python script that reads the CSV file produced by vim-leaderboard and shows a bar chart of my most-used Vim shortcuts.
Prompt 3
Convert my existing Vim key mappings into vim-leaderboard format with plain-English descriptions and the underlying commands.

Frequently asked questions

What is vim-leaderboard?

A Vim plugin that tracks which custom keyboard shortcuts you use while editing and saves the data to a CSV file so you can analyze your workflow habits.

What language is vim-leaderboard written in?

Mainly VimL. The stack also includes VimL, Vim.

Is vim-leaderboard actively maintained?

Dormant — no commits in 2+ years (last push 2014-11-22).

How hard is vim-leaderboard to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is vim-leaderboard for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.