Skip to content

Latest commit

 

History

History
83 lines (54 loc) · 1.6 KB

File metadata and controls

83 lines (54 loc) · 1.6 KB

comvimed

A vim plugin to run Rust main function and unit tests within the buffer.

Stargazers Issues

Alt text

Installation

Manual Installation

  1. Clone the repository
  2. Copy the directory [comvimed-rust] into
~/.vim/plugged/

Keymaps

You can actually customize the Keymaps inside the plugin folder. The default reads:

nnoremap <silent> <leader>r :call comvimed#RunRust()<CR>

<leader>r to run the main function

nnoremap <silent> <leader>u :call comvimed#FunctSearch()<CR>

<leader>u to search for functions

nnoremap <silent> <leader>t :call comvimed#RunRustTests()<CR>

<leader>t to run test functions

Or just change it to your liking :)

Showcase

Search for functions

Alt text

Run main function

Rust

Alt text

C++

Alt text

C

Alt text

Python

Alt text

And many much more languages.

Run test funtions

Alt text