Join David D. Levine for an in-depth discussion in this video Moving by words, sentences, and paragraphs, part of Learning vi.
…In addition to moving the cursor backward and forward by characters and up and…down by lines, you can also move by words, sentences and paragraphs.…The keys w and b move the cursor forward a word, that's what the w stands for,…or back a word, that's what the b is.…You can also use e, to move forward to the end of the current word if you're in…a word or to the end of the next word if you're at the beginning of the word.…So w will go to the beginning of the next word,…whereas e will go to the end of the current word.…
The commands parenthesis forward and back.…The right parenthesis moves the cursor forward to…the beginning of the next sentence.…The left parenthesis moves the cursor backward to the beginning of…the current sentence or to the beginning of the previous sentence.…And likewise, the curly brace moves the cursor forward a paragraph or…back a paragraph.…A sentence is determined by via using punctuation and space.…Whereas a paragraph is delimited by a line which is completely blank.…And when I say completely blank, I mean that it can't contain any spaces or tabs.…
AuthorDavid D. Levine
- Entering and leaving vi
- Understanding the Command, Insert, and Colon modes
- Moving around in files
- Editing text
- Moving content with delete, yank, and put
- Searching with regular expressions
- Customizing vi
- Filtering text through shell commands
Skill Level Beginner
1. Exploring vi
What is vi?2m 26s
2. Getting Started with vi
3. Moving Around within a File
4. Basic Text Editing
5. Undo, Repeat, Yank, and Put
6. Search and Replace
7. Advanced Editing Features
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.