Skip to content

A plugin for Neovim inspired by Emacs' Compilation Mode

Notifications You must be signed in to change notification settings

ej-shafran/compile-mode.nvim

Repository files navigation

Introduction

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.

Features

out.mp4

Installation

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,
  }
}

Contributing

Contributions are welcome in the form of GitHub issues and pull requests.

For contributing details see CONTRIBUTING.md.

About

A plugin for Neovim inspired by Emacs' Compilation Mode

Resources

Stars

Watchers

Forks

Languages