forked from idvorkin/Vim-Keybindings-For-Onenote
-
Notifications
You must be signed in to change notification settings - Fork 0
/
testcases.txt
28 lines (27 loc) · 1.32 KB
/
testcases.txt
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
; Text after a semicolon are treated as comments and ignored.
; The test will be sent as written from normal mode, with the cursor at the start of the sample text.
; Use {esc} to send an escape key, and {return} to send a newline.
; Otherwise it is best to avoid {} characters.
; Please put a comment at the end of your test case stating what it tests.
; Sample text (reference only, see testscript for actual text.)
;This is the first line of the test, and contains a comma and a period.
;Second line here
;3rd line. The second line is shorter than both 1st and 3rd line.
;The fourth line contains some additional whitespace.
;What should I put on the 5th line?A missing space, perhaps
;This line 6 should be longer than the line before it and after it to test kj
;No line, including 7, can be longer than 80 characters.
;This is because onenote wraps automatically, (line 8)
;And treats a wrapped line as separate lines (line 9)
;
iAt start of first lin.{esc}ie{esc}IWord ; i,I
ahe {esc}A Also this.; a, A
w$^ihBOL; ^, no whitespace
w$0ihBOL; 0, no whitespace
$bbbi[3rd word from end]; b with punctuation?
; dd{control down}{end}{control up}p; delete line, paste linewise at final line.
dw; d with single motion
d4w; d with repeat motion
GiEOF; G, go to end of file.
GiEOF{esc}ggiBOF; gg (go to beginning of file)
;5ggi5th line; go to line