diff options
author | Vincent Batts <vbatts@hashbangbash.com> | 2011-04-13 16:09:27 -0400 |
---|---|---|
committer | Vincent Batts <vbatts@hashbangbash.com> | 2011-04-13 16:09:27 -0400 |
commit | 26492c4fd6cb1f53f1be0ea45c1dc457022b95df (patch) | |
tree | 8df54b18bc6af8a60f8448803b526a3bf532d946 /chapter_12.xml | |
parent | 44adcebbfa8e124c93b876182f64512444eae987 (diff) | |
parent | b2961d9ee606085fe06c5b73c6ac713f92b24d46 (diff) | |
download | slackbook-26492c4fd6cb1f53f1be0ea45c1dc457022b95df.tar.xz |
Merge branch 'master' of rlworkman.net:slackbook
Diffstat (limited to 'chapter_12.xml')
-rw-r--r-- | chapter_12.xml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/chapter_12.xml b/chapter_12.xml index e69fd1e..f7f9540 100644 --- a/chapter_12.xml +++ b/chapter_12.xml @@ -290,6 +290,10 @@ you begin to feel comfortable. <entry>Remove five words (and store them in the copy buffer)</entry> </row> <row> + <entry>yy</entry> + <entry>Yank (copy) a line (and store it in the copy buffer)</entry> + </row> + <row> <entry>yw</entry> <entry>Yank (copy) a single word (and store it in the copy buffer)</entry> </row> @@ -327,7 +331,11 @@ you begin to feel comfortable. </row> <row> <entry>:s'old'new'g</entry> - <entry>Replace all occurances of 'old' with 'new'</entry> + <entry>Replace all occurances of 'old' with 'new' (current line only)</entry> + </row> + <row> + <entry>:%s'old'new'g</entry> + <entry>Replace all occurances of 'old' with 'new' (all lines)</entry> </row> <row> <entry>/asdf</entry> |