Skip to content

Commit acb9f08

Browse files
authored
Include demo gif in repo
1 parent 2fd175f commit acb9f08

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

README.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,10 @@
22

33
[![Build Status](https://travis-ci.org/MilesCranmer/vim-stream.svg?branch=master)](https://travis-ci.org/MilesCranmer/vim-stream) | [![Codecov branch](https://img.shields.io/codecov/c/github/MilesCranmer/vim-stream/master.svg)](https://codecov.io/gh/MilesCranmer/vim-stream)
44

5-
Do you live in a vim editor? Then, maybe, stream
6-
editing with vim feels more natural than
7-
sed or awk:
8-
9-
```
10-
cat myfile.txt | vims '3,4norm yyGp' '%g/foo/d'
11-
```
12-
which means:
13-
- `3,4norm yyGp` - on the 3rd and 4th line, enter normal mode and
14-
copy the line to the bottom of the file.
15-
- `%g/foo/d` - delete every line containing "`foo`"
5+
![Demo](https://i.imgur.com/dntK3MP.gif)
166

177

18-
You can also use "exe" mode (flag `-e`):
8+
You can use "exe" mode (flag `-e`):
199
for example, to comment out in C++
2010
every line containing `my_bad_var`,
2111
then delete the line above it:

0 commit comments

Comments
 (0)