I build this blog with Hugo and write in neovim. Constantly jumping between editor, terminal and file manager wore me out, so I wrote hugo-cms.nvim.

The plugin lives entirely inside neovim. Register a site once, then everything runs through :Hugo …. New posts from archetypes, picker and full-text search over existing content, front matter and drafts toggled in sync across language siblings, images and shortcodes inserted at the cursor, covers set, local preview and deployment via your own deploy.sh.

If you want to dive in, the reading order:

  1. Hugo, a Static Site Generator for Your Own Blog, what Hugo is and why it works for a blog.
  2. hugo-cms.nvim, a Plugin for Hugo in neovim, short overview of what the plugin does.
  3. Getting Started with hugo-cms.nvim, site setup, archetype design, first post.
  4. Managing Posts with hugo-cms.nvim, finding, editing, drafts and taxonomy, renaming and deleting.
  5. Media, Preview and Deploy, inserting images and shortcodes, local server, publishing.
  6. Multilingual Sites, Slugs and Covers, clean per-language URLs, translation workflow, alt texts.
  7. Workflow, SEO Check and Gotchas, checklist before publishing, the publishing loop, and gotchas.