A vim plugin to run Rust main function and unit tests within the file.
- Clone the repository
- Copy the directory [comvimed-rust] into
~/.vim/plugged/
You can actually customize the Keymaps inside the plugin folder. The default reads:
nnoremap <silent> <leader>r :call comvimed#RunRust()<CR>
nnoremap <silent> <leader>u :call comvimed#FunctSearch()<CR>
nnoremap <silent> <leader>t :call comvimed#RunRustTests()<CR>