Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

[abandoned] a vim plugin to run :make in the background, unobtrusively.

Notifications You must be signed in to change notification settings

timbertson/vim-background-make

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

background-make

It's not perfect, but for non-pathological makeprg settings it seems to work very reliably. It adds a :Make command that does exactly what :make does, except it does it in the background.

And it tries its very best to not disrupt you - by default, it'll send a system notification the moment that make finishes. But it will then wait until you are in either insert or normal mode, at which point it'll take the opportunity to pop up the error window and restore your cursor position / mode.

Using:

When you would use :make, use :Make instead. Simple!

Customising:

currently the only settable option is changing the notification command, by setting g:background_make_notify_cmd

The default value is:

notify-send "$msg" "Vim background make"

$msg will be substitited at run time for either "Success!" or "Failed.". If you don't want any notifications, you can simply set it to "echo" or something similarly ineffectual.

About

[abandoned] a vim plugin to run :make in the background, unobtrusively.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published