Watches how you edit and shows you shorter Vim motions for what you just did. Works in Neovim and VS Code (both vscode-neovim and VSCodeVim).

vimcoach looks at your buffer, cursor jumps, and before/after edits rather than just counting repeated keys. It sticks to practical motions you'd actually use (won't nag jjj or suggest 4fe), ignores pauses while you're reading, and tracks your habits in a dashboard.
A few things it catches:
vllllld → di", vwwc → ci(, vi"d → di")0/^/$, %, f/t, {/}, gg/G, <C-d>/<C-u>, <C-o>)d$ → D, dw+i → cw, dd+O → cc, ^i → I, A<CR> → o, ~, <C-a>, J)., */#, cgn)<BS> → <C-w>/<C-u>, arrow keys)With lazy.nvim:
return { "monroedean/vimcoach" }
No setup() call needed unless you want to change the defaults.
vscode-neovimRequires the VSCode Neovim (asvetliakov.vscode-neovim) extension. Install the Neovim plugin above in your Neovim config (you don't need the VS Code extension below). Hints show up inline at the end of the line (hover for details) and briefly in the status bar.
VSCodeVimRequires the VSCodeVim (vscodevim.vim) extension.
Install vimcoach from the VS Code Marketplace (or Open VSX for Cursor/VSCodium), or run:
code --install-extension monroedean.vimcoach
You can also grab a .vsix from Releases or see vscode-extension/ for details.
| Command | Action |
|---|---|
:VimCoach |
Open the stats dashboard |
:VimCoachToggle |
Pause or resume |
:VimCoachStrict |
Toggle strict mode (blocks key spamming) |
:VimCoach coach|strict|adaptive |
Switch mode |
:VimCoach status |
Print a quick summary |
:VimCoach test |
Trigger a sample hint |
:VimCoachReset |
Clear saved stats |
Statusline helper (e.g. for lualine.nvim):
function() return require("vimcoach").statusline() end
Defaults live in lua/vimcoach/config.lua. Override only what you want:
require("vimcoach").setup({
mode = "coach", -- "coach" | "strict" | "adaptive"
practical_only = true,
disabled_rules = {}, -- e.g. { nav_vertical_count = true }
ui = {
style = "float", -- "float" | "notify" | "echo"
position = "top_right", -- "top_right" | "bottom_right" | "cursor"
duration_ms = 4500,
},
vscode = {
style = "inline_and_status",
},
})