Skip to content

immanelg/simple-compilation-mode.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple Compilation Mode for Neovim

image

This plugin lets you create a terminal buffer and repeatedly run a compilation command in it, like in Emacs Compilation Mode.

vim.keymap.set({"n","t"}, "<Space><F5>", Compile) -- set compilation command and compile
vim.keymap.set({"n","t"}, "<F5>", CompileAgain) -- recompile with previous command if it's set; otherwise set the command and compile
vim.keymap.set("n", "gw", CompileBuffer) -- open compilation buffer

Compilation buffer is a neovim :terminal, which is cleared before each run.

The buffer has these keybindings:

  • <c-c>: interrupt compilation
  • <cr>: go to location under cursor
  • q: close buffer

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages