From 255dbbd3ed3ec2e57ae8f0ed8965e064bbbafc95 Mon Sep 17 00:00:00 2001 From: Ankit Chandawala Date: Sun, 28 May 2017 22:57:04 +0530 Subject: [PATCH] Fix line number range in sample substitute command --- introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/introduction.md b/introduction.md index 08827b2..c33aea1 100644 --- a/introduction.md +++ b/introduction.md @@ -25,7 +25,7 @@ Let's see some random examples to compare Vim with your current choice of editor | How do you move the cursor down by 7 lines? | Press `7j` | (Fill this column) | | How do you delete a word? Yes, a "word" | Press `dw` | | | How do you search the current file for the current word that the cursor is at? | Press `*` | | -| How to find and replace only in lines 50-100? | Run `:50,10s/old/new/g` | | +| How to find and replace only in lines 50-100? | Run `:50,100s/old/new/g` | | | How to view two different parts of the same file simultaneously? | Run `:sp` to 'split' the view | | | The cursor is at a file name, how to jump to that file? | Press `gf` (which means 'g'o to 'f'ile) | | | Switch to a better theme? | Run `:colorscheme desert` to choose the `desert` theme | |