1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 22:30:04 +08:00
SpaceVim/docs/_posts/2017-12-07-async-code-runner-in-SpaceVim.md
2020-05-10 14:05:04 +08:00

924 B

title categories description commentsID comments
An async code runner in SpaceVim blog A better way for running code with in vim, more info about the command status, will not move cursor from code buffer. Async code runner true

Blogs > An async code runner in SpaceVim

when edit code, sometimes I want run current file. as we know vim's build-in feature :!, but it is not running asynchronously.

here is an gif shown how we can run code within SpaceVim. the first line is showing the command, the last line is showing the exit code and the time that has been consumed. the default key binding is SPC l r, SPC means <Space> on your keyboard.

async code runner

as wrote in old blog, we can also use this feature for java, c, php, JavaScript, etc.