Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix line number range in sample substitute command #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion introduction.md
Original file line number Diff line number Diff line change
@@ -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 | |