Hasty Briefsbeta

Replua.nvim – an Emacs-style scratch buffer for executing Lua

a day ago
  • #Neovim
  • #Lua
  • #Plugin
  • replua.nvim provides an Emacs-style scratch buffer for executing Lua inside Neovim.
  • Features include evaluating current line, surrounding block, or entire buffer with results printed inline.
  • Each scratch buffer has its own Lua environment, allowing for isolated experimentation.
  • Default keymaps mimic Emacs-style interactions for evaluation.
  • Supports custom configuration through setup(), including keymaps, prefixes, and environment persistence.
  • Commands available: :RepluaOpen, :RepluaOpen!, :RepluaEval, and :RepluaReset for managing scratch buffers and environments.