ThePrimeagen/vim-apm

github github
games plugin
star 95
stars
alert-circle 4
open issues
users 1
subscribers
git-branch 8
forks
CREATED

2020-07-19

UPDATED

last year

packer

require('packer').startup(function()
  use 'ThePrimeagen/vim-apm'
end)

paq

require "paq" { 
  'ThePrimeagen/vim-apm'
}

Vim APM

Vim apm keeps track of your APM by counting keystrokes and determining its worth. You will get both your stroke count / time and your score / time. The score is based on how frequently you type the same command in normal mode, whereas insert there is only score. Normal mode only keeps track of the last 10 strokes so you are not penalized too heavily

Example

Example Video

Getting Started

  1. You must use a master build of NeoVim. The latest master has everything that you need.

  2. Use your favorite plugin manager.

Plug "ThePrimeagen/vim-apm"
  1. Execute :VimApm. If you use Ctrl-w o to shut other buffers, you can bring back the menu by re-executing :VimApm

  2. Execute :VimApmShutdown to stop calculating.

  3. Check out your timings csv file at ~/apm.csv

Values and Meaning

you will see 3 values, n:, i:, and t:. n = normal mode, i = insert, t = total.

There are two numbers Score / Strokes. Score is determined by how repetitive the last 10 commands are in normal mode, not applicable to insert mode. So an ideal score would be ~1 ratio for normal mode.

Enjoy

Made with love, live on Twitch. Thank you TJ for all your help