Skip to content

Commit

Permalink
Merge pull request #143 from CyrusYip/patch-8
Browse files Browse the repository at this point in the history
space is unneeded in Black Hole Deletion
  • Loading branch information
iggredible authored Jan 31, 2022
2 parents 703db35 + 4e17d44 commit 961ec2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch13_the_global_command.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ console.log("three: ", three);
Recall from the register chapter that deleted texts are stored inside the numbered registers (granted they are sufficiently large ). Whenever you run `:g/console/d`, Vim stores the deleted lines in the numbered registers. If you delete many lines, you can quickly fill up all the numbered registers. To avoid this, you can always use the black hole register (`"_`) to *not* store your deleted lines into the registers. Run:

```
:g/console/d _
:g/console/d_
```

By passing `_` after `d`, Vim won't use up your scratch registers.
Expand Down

0 comments on commit 961ec2b

Please sign in to comment.