summaryrefslogtreecommitdiff
path: root/tests/cmdline/repl_words_move.py
blob: e1eb5295350c180e13d5bf861ac7a3d9c58be43e (plain)
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
# word movement
# backward-word, start in word
234b1
# backward-word, don't start in word
234    b1
# backward-word on start of line. if cursor is moved, this will result in a SyntaxError
1 2 + 3b+
# forward-word, start in word
1+2 12+f+3
# forward-word, don't start in word
1+    12 3f+
# forward-word on eol. if cursor is moved, this will result in a SyntaxError
1 + 2 3f+

# kill word
# backward-kill-word, start in word
100 + 45623
# backward-kill-word, don't start in word
100 + 456231
# forward-kill-word, start in word
100 + 256d3
# forward-kill-word, don't start in word
1 + 256d2

# extra move/kill shortcuts
# ctrl-left
2341
# ctrl-right
123
# ctrl-w
1231