Work on tests
This commit is contained in:
parent
9d261cf859
commit
4143d3a36e
10 changed files with 181 additions and 35 deletions
15
crates/vim/test_data/test_comma_w.json
Normal file
15
crates/vim/test_data/test_comma_w.json
Normal file
|
@ -0,0 +1,15 @@
|
|||
{"Exec":{"command":"map ,w j"}}
|
||||
{"Put":{"state":"ˇhello hello\nhello hello"}}
|
||||
{"Key":"f"}
|
||||
{"Key":"o"}
|
||||
{"Key":";"}
|
||||
{"Key":","}
|
||||
{"Key":"w"}
|
||||
{"Get":{"state":"hello hello\nhello hellˇo","mode":"Normal"}}
|
||||
{"Put":{"state":"ˇhello hello\nhello hello"}}
|
||||
{"Key":"f"}
|
||||
{"Key":"o"}
|
||||
{"Key":";"}
|
||||
{"Key":","}
|
||||
{"Key":"i"}
|
||||
{"Get":{"state":"hellˇo hello\nhello hello","mode":"Insert"}}
|
8
crates/vim/test_data/test_jk.json
Normal file
8
crates/vim/test_data/test_jk.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{"Exec":{"command":"imap jk <esc>"}}
|
||||
{"Put":{"state":"ˇhello"}}
|
||||
{"Key":"i"}
|
||||
{"Key":"j"}
|
||||
{"Key":"o"}
|
||||
{"Key":"j"}
|
||||
{"Key":"k"}
|
||||
{"Get":{"state":"jˇohello","mode":"Normal"}}
|
Loading…
Add table
Add a link
Reference in a new issue