Skip to content

VIm plugin to run Rust main and test function within the file.

Notifications You must be signed in to change notification settings

V1337Q/comvimed-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

comvimed

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

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>

r to run the main function

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

u to search for functions

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

t to run test functions

Showcase

Search for functions

Alt text

Run main function

Alt text

Run test funtions

Alt text

About

VIm plugin to run Rust main and test function within the file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published