NORMAL ~/wkd/p/recommender :set skin=modern utf-8

recommender.nvim

Finds the repetition in your code and offers to do something about it. It reads a buffer — or a wider scope — for dotted chains repeated often enough to be worth aliasing, and puts the suggestions in a float you can act on without leaving it. Pure Neovim, no external tooling.

status
beta — Beta stage — active development. This repository is past its first shape and in active use, but the surface is not frozen: breaking changes are still possible. Pin a commit or tag if you depend on it.
category
Debug & inspect
neovim
0.9+
repo
github.com/WKDSteve/recommender.nvim
commits
139
help
:help recommender

demo

recorded with VHS from demos/recommender.tape in a clean Neovim — re-recorded weekly
what is shown when
  1. :Recommender - chains repeated in this buffer, and the alias for each
  2. j and Enter - pick a suggestion, insert its alias
  3. :Recommender 2 - a lower threshold finds more

install

{
  "WKDSteve/recommender.nvim",
  opts = {},
}

docs/

git log

  1. perf project: find_files walks once for all extensions instead of globpath per extension
  2. docs regenerate the connection pictures (optional loads through probe/safe/package.loaded)
  3. docs graphs: the connections picture has no title above an empty column
  4. docs readme: connections to the other repos of the workshop, as a picture and a list
  5. docs readme: the icon of the plugin on top, the files in assets/icons/recommender-nvim
  6. chore ci: regenerate the workflow (luacheck as a checked release binary, testing.nvim d9d2d35)
  7. test sheets: the feature catalog, and the sheets name their feature
  8. chore scripts: scripts/test.sh from the current template (stopping it reaches nvim, lint subcommand)
  9. ci land through the hosted CI (ci.workflow.land)
  10. ci generate the workflow from ci.workflow (layout hosted)
  11. chore sheets: the sheets name the open live-check task recommender.nvim/manual-checklist-run
  12. test sheets: float_keymaps = false proves that j and k still move by suggestion

keys

j / k
next / previous line
gg / G
first / last line
⏎
open the line under the cursor
/
search plugins and apps (app: x or plugin: x narrows)
:
command line — Tab completes
:help x
vimdoc of a plugin (:e x = plugin page)
:ls · :apps · :play · :log · :stack
plugin list · app list · play area · activity stream · dependency graph
:log apps
the stream of one area (plugins or apps)
:colo x
colorscheme
:set skin=
modern | tui
?
this help
esc
close