Flesh out v1.0 of vim :
This commit is contained in:
parent
6ad1f19a21
commit
2d9db0fed1
16 changed files with 516 additions and 82 deletions
6
crates/vim/test_data/test_command_basics.json
Normal file
6
crates/vim/test_data/test_command_basics.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{"Put":{"state":"ˇa\nb\nc"}}
|
||||
{"Key":":"}
|
||||
{"Key":"j"}
|
||||
{"Key":"enter"}
|
||||
{"Key":"^"}
|
||||
{"Get":{"state":"ˇa b\nc","mode":"Normal"}}
|
5
crates/vim/test_data/test_command_goto.json
Normal file
5
crates/vim/test_data/test_command_goto.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{"Put":{"state":"ˇa\nb\nc"}}
|
||||
{"Key":":"}
|
||||
{"Key":"3"}
|
||||
{"Key":"enter"}
|
||||
{"Get":{"state":"a\nb\nˇc","mode":"Normal"}}
|
22
crates/vim/test_data/test_command_replace.json
Normal file
22
crates/vim/test_data/test_command_replace.json
Normal file
|
@ -0,0 +1,22 @@
|
|||
{"Put":{"state":"ˇa\nb\nc"}}
|
||||
{"Key":":"}
|
||||
{"Key":"%"}
|
||||
{"Key":"s"}
|
||||
{"Key":"/"}
|
||||
{"Key":"b"}
|
||||
{"Key":"/"}
|
||||
{"Key":"d"}
|
||||
{"Key":"enter"}
|
||||
{"Get":{"state":"a\nˇd\nc","mode":"Normal"}}
|
||||
{"Key":":"}
|
||||
{"Key":"%"}
|
||||
{"Key":"s"}
|
||||
{"Key":":"}
|
||||
{"Key":"."}
|
||||
{"Key":":"}
|
||||
{"Key":"\\"}
|
||||
{"Key":"0"}
|
||||
{"Key":"\\"}
|
||||
{"Key":"0"}
|
||||
{"Key":"enter"}
|
||||
{"Get":{"state":"aa\ndd\nˇcc","mode":"Normal"}}
|
Loading…
Add table
Add a link
Reference in a new issue