#vim #temporary-files #cli #edit #string #vim-create

vim_edit

A simple set of Rust functions to create or edit strings or files in vim from the CLI

2 releases

0.1.1 Jan 19, 2021
0.1.0 May 2, 2020

#1339 in Filesystem

Download history 188/week @ 2024-03-29 88/week @ 2024-04-05 81/week @ 2024-04-12 67/week @ 2024-04-19 37/week @ 2024-04-26 64/week @ 2024-05-03 76/week @ 2024-05-10 50/week @ 2024-05-17 51/week @ 2024-05-24 59/week @ 2024-05-31 46/week @ 2024-06-07 63/week @ 2024-06-14 44/week @ 2024-06-21 4/week @ 2024-06-28

56 downloads per month

MIT license

4KB

VIM Edit

GitHub Workflow Status Crates.io Crates.io

A simple set of functions to create and edit individual Rust Strings with VIM.
May support more options and features in the near future.

Example

Cargo.toml

[dependencies]
vim_edit = "0.1.0"

main.rs

use vim_edit::{vim_create, vim_edit}

fn main() {
    let mut our_input: String = vim_create();
    println!("You created in vim: {}", our_input);
    our_input = vim_edit(our_input);
    println!("Final edited value is: {}", our_input)
}

Dependencies

~2–10MB
~110K SLoC