diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2024-02-29 17:21:49 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2024-02-29 17:21:49 +0100 |
| commit | 7eea122ccf24efc9de55e2d9bf0dd69f0e18e50e (patch) | |
| tree | dea88f710fa35ed524d8c34765508f8beb165291 /README.md | |
| download | vis-build-7eea122ccf24efc9de55e2d9bf0dd69f0e18e50e.tar.gz vis-build-7eea122ccf24efc9de55e2d9bf0dd69f0e18e50e.zip | |
initial commit
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..23c4de0 --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# vis-build - asynchronously run (build) commands + +This is a simple `vis` plugin to asynchronously run any shell command using +the `vis:communicate` API. + +I use the plugin to run build commands while keeping my editor usable. + +## Configuration + +By default, the `build` will execute `make(1)` in the current directory. +The used build command can either be passed as first argument to `build` or +is retrieved by calling the function `build.get_default_build_cmd`. + +So in order to change the default build command to ninja add this snippet to +you `visrc.lua`: + +```lua +local build = require('plugins/vis-build') +build.get_default_build_cmd = function() return 'ninja' end +``` + +## Bindings + +`<M-b>` is bound to the `build` command. |
