compile-mode.nvim
is a Neovim plugin which emulates the features of Emacs'
Compilation
Mode.
It allows you to run commands which are output into a special buffer, and then
rerun that command over and over again as much as you need.
out.mp4
Use your favorite plugin manager. compile-mode.nvim
depends on
plenary.nvim.
Here's an example of a Lazy config for
compile-mode.nvim
:
return {
"ej-shafran/compile-mode.nvim",
branch = "latest",
-- or a specific version:
-- tag = "v3.0.0"
dependencies = {
"nvim-lua/plenary.nvim",
-- if you want to enable coloring of ANSI escape codes in
-- compilation output, add:
-- { "m00qek/baleia.nvim", tag = "v1.3.0" },
},
-- if not using Lazy, make sure to call:
-- require("compile-mode").setup({})
opts = {
-- to add ANSI escape code support, add:
-- baleia_setup = true,
}
}
Contributions are welcome in the form of GitHub issues and pull requests.
For contributing details see CONTRIBUTING.md.