An open API service indexing awesome lists of open source software.

https://github.com/meain/vroom

Run VIM macros from cli
https://github.com/meain/vroom

Last synced: 26 days ago
JSON representation

Run VIM macros from cli

Awesome Lists containing this project

README

        

# [WIP] Vroom

Run VIM macros over multiple lines.

### Usage

```
vroom 'pattern' filename
```
*Use `-` for filename to read from stdin*

cat list
vroom 'A juice<esc>I- ' list
vroom '$a pie,' list
vroom '0rW' list


lemon
mango
tomato
orange
apple


- lemon juice
- mango juice
- tomato juice
- orange juice
- apple juice


lemon pie,
mango pie,
tomato pie,
orange pie,
apple pie,


Wemon
Wango
Womato
Wrange
Wpple

## Note

This is just me learning some rust. Vim actually lets you do something similar.
Checkout `vim -es`

```
vim -es test << EOF
%norm A juice
%norm I-
wq
EOF
```