Merge pull request #143 from CyrusYip/patch-8

space is unneeded in Black Hole Deletion
pull/145/head
Igor Irianto 2 years ago committed by GitHub
commit 961ec2b99a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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.

Loading…
Cancel
Save