Replace the placeholder README with a full reference covering features,
requirements, installation (lazy/packer/vim-plug), configuration tables
with defaults, commands, keymaps, highlight groups, API, and a quick
start guide.
Create doc/watchexec.txt covering introduction, requirements, installation,
setup, configuration (all fields with defaults), commands, keymaps, highlight
groups, and the public API. Tags are generated via helptags.
Rewrite init.lua to expose setup(), run(), stop(), and toggle() that
coordinate across config, runner, window, and indicator modules. Replace
the placeholder SayHello command in plugin/watchexec.lua with keymaps
(<Leader>wx{t,s,r}), :WatchexecRun/:WatchexecStop/:WatchexecToggle
commands, VimLeavePre cleanup, and VimResized auto-resize.
Implement runner module for spawning and managing watchexec child processes
via vim.fn.jobstart with stdout/stderr piping and ANSI stripping. Add
indicator module for displaying a small non-focusable float that shows the
last command outcome (success/failure) when the main window is hidden.
Introduce config module for managing user options, defaults, and watchexec
binary discovery. Add window module for creating and managing the output
window (float or split) with append, clear, resize, and keymap support.