async run (shell/build/run/make) commands on neovim.
neovim 0.10+
install with any plugin management or use packadd. then invoke setup function.
require('rapid').setup()then bind a keymap for rapid by using vim.keymap.set
vim.keymap.set('n', '<leader>r', '<cmd>Rapid<CR>')- timeout integer default is 10000
- open string default is
<CR>
support single and pipe commands like when using gcc
-
single
Compile Command: gcc test.c -
pipe
Compile Command: gcc test.c && ./a.out -
'%' flag for current file like
Compile Command: gcc %
also you can run shell commands or any other commands by using Rapid
RapidFinished RapidTake RapidDate RapidFile RapidTargetPos
