1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
|
# Addresses
11 p
21,22 p
31~32 p
41,~42 p
51,+52 p
$ p
/regex-without-flags/ p
/regex-with-flags/IM p
// p
# Bang to invert addresses
$ ! p
# Commands with no arguments
=
b
d
D
F
g
G
h
H
l
L
n
N
p
P
q
Q
t
T
x
z
# Commands with numeric argument
q 1
Q 22
l 333
L 4444
# Commands with labels
: label
b label_b
t label_t
T label_T
# Command v (label-like)
v 4.2
# Commands with files
r file_r
R file_R
w file_w
W file_W
# Commands with text
a text_a
i\
text_i
c\
text_c1 \
text_c2
# Command e (text-like)
e date
# Command y
y/abc/123/
y@abc@123@
# Command s
s///
s|||3
s/patt/repl/gipw filew
# Blocks
$ {
p
}
|