A new neovim plugin to use zola with

Hi there folks,

I made a new plugin for neovim so you can control Zola from right inside the editor. If there are any neovim enjoyers here, I hope they find it helpful as well.

features

  • :hammer_and_wrench: Build, serve, and check Zola sites without leaving Neovim
  • :memo: Scaffold new pages and sections with default TOML front matter
  • :wrench: Configure build/serve/check/page/section options per command for a streamlined workflow
  • :key: Define your own keymaps or use user commands (:ZolaBuild, :ZolaServe, etc.)
  • :hammer_and_wrench: Use Lua API functions for advanced integration with your Neovim setup

:high_voltage: Example usage

vim.keymap.set("n", "<leader>znp", function()
  vim.ui.input({ prompt = "Enter page slug: " }, function(result)
    require("zola").create_page({
      slug = "blog/" .. result,
      page_is_dir = true,
      draft = true,
      open = true
    })
  end)
end, { desc = "Create a new blog post" })

:link: GitHub: savente93/zola.nvim

Would love feedback, issues, and ideas for improving it further.

1 Like