Skip to content

V1337Q/comvimed-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

comvimed

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

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

About

An oversimplified Vim plugin to run main and test functions within the file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published