summaryrefslogtreecommitdiffhomepage
path: root/vim.html.markdown
diff options
context:
space:
mode:
authorMilo Gilad <milogaccnts@gmail.com>2017-08-25 10:18:31 -0400
committerMilo Gilad <milogaccnts@gmail.com>2017-08-25 10:18:31 -0400
commita6c3a64a4c897a1f7e7acfbfe6318866317770ad (patch)
tree28b0d35aaf2cdc3e968e182f1de4d5c5e596a970 /vim.html.markdown
parent1abae4b25de43e05df3ba225986997bc72eb3f8a (diff)
parentbce21489d8d7e3a3f3d4ede2154dba082647296e (diff)
Merge branch 'master' of github.com:adambard/learnxinyminutes-docs
Diffstat (limited to 'vim.html.markdown')
-rw-r--r--vim.html.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/vim.html.markdown b/vim.html.markdown
index 70f43be1..7723136f 100644
--- a/vim.html.markdown
+++ b/vim.html.markdown
@@ -40,9 +40,9 @@ specific points in the file, and for fast editing.
# Searching in the text
- /word # Highlights all occurences of word after cursor
- ?word # Highlights all occurences of word before cursor
- n # Moves cursor to next occurence of word after search
+ /word # Highlights all occurrences of word after cursor
+ ?word # Highlights all occurrences of word before cursor
+ n # Moves cursor to next occurrence of word after search
N # Moves cursor to previous occerence of word
:%s/foo/bar/g # Change 'foo' to 'bar' on every line in the file