Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
emersonmx committed Aug 16, 2022
1 parent cbc5c6a commit b613c01
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,30 @@ print(result)
# >third line
# >

result = yaex(
append("first line"),
append("second line"),
append("third line"),
move(-1),
delete(),
)
print(result)
# >first line
# >third line
# >

result = yaex(
append("first line"),
append("second line"),
append("third line"),
search("second"),
delete(),
)
print(result)
# >first line
# >third line
# >

result = yaex(
append("# yaex\n\nThis is a library based on the ex command.\n"),
go_to_first_line(),
Expand Down

0 comments on commit b613c01

Please sign in to comment.