Make.nvim is a plugin to easily run Makefiles.
Run Makefile targets directly from Neovim in a persistent terminal split.
This plugin makes working with Makefiles inside Neovim a breeze. It parses your top-level Makefile, lists all available targets, and runs the selected target in an embedded terminal — without disrupting your workflow.
- Parses the top-level
Makefileand lists unique targets - Select targets using
vim.ui.select(supports telescope 🔭) - Opens or reuses a terminal at the bottom split of your window
- Sends
make <target>and follows the output automatically
- Neovim 0.8+ (0.10+ recommended for vim.system support)
- A top-level Makefile in your working directory
- make installed in your system
- Neovim >= 0.8.0+ required
- Install using your favorite plugin manager
Install with Lazy
{
"cacarico/make.nvim",
}With packer:
use {
"cacarico/make.nvim",
}This plugin automatically sets up the following keymaps in case they are not already taken:
| Keymap | Functionality |
|---|---|
| leader + tm | [t]oggle [m]ake terminal. |
| leader + mt | [m]ake [t]target |