- type in the word: "errors for job profile"
- move to the first 'p'
- select the entire content within the quotes:
vi"
- select just from the cursor to the quotes:
vt"
- delete just from the cursor location to the quote:
dt"
- delete everything within the quotes:
di"
- open a file with a few hundred lines of code
- view all the marks -
:marks
- add a mark:
ma
- jump to that mark:
'a
- Open a screenful of text, where the file is several hundred lines long
- Move to the bottom of the screen:
L
- Move to the middle of the screen:
M
- Move to the top of the screen:
H
- Delete quotes from "Hello *World!" by -
ds"
- Change the square brackets in [123+4*56]/2 to parens by -
cs])
- Change quotes to
tags: "Look ma, I'm *HTML!" by -
cs"<q>
- Add parens around this: if *x>3 { by -
ysW(
- Wrap the word 'world' in "Hello w*orld!" with parens by -
ysiw)
- Add single quotes around word using visual mode: my $str = *whee!; by -
vllllS'