zed/crates/vim/test_data/test_numbered_registers.json
Paul Eguisier 001f17c011
vim: Implement named registers (#12895)
Release Notes:

- vim: Add support for register selection `"a`-`"z`, `"0`-`"9`, `"-`.
`"_` and `"%`
([#11511](https://github.com/zed-industries/zed/issues/11511))

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
2024-06-12 10:40:27 -06:00

46 lines
1.7 KiB
JSON

{"Put":{"state":"The quick brown\nfox jˇumps over\nthe lazy dog"}}
{"Key":"y"}
{"Key":"y"}
{"Key":"\""}
{"Key":"0"}
{"Key":"p"}
{"Get":{"state":"The quick brown\nfox jumps over\nˇfox jumps over\nthe lazy dog","mode":"Normal"}}
{"ReadRegister":{"name":"0","value":"fox jumps over\n"}}
{"Get":{"state":"The quick brown\nfox jumps over\nˇfox jumps over\nthe lazy dog","mode":"Normal"}}
{"ReadRegister":{"name":"\"","value":"fox jumps over\n"}}
{"Get":{"state":"The quick brown\nfox jumps over\nˇfox jumps over\nthe lazy dog","mode":"Normal"}}
{"Key":"k"}
{"Key":"k"}
{"Key":"d"}
{"Key":"d"}
{"Get":{"state":"ˇfox jumps over\nfox jumps over\nthe lazy dog","mode":"Normal"}}
{"ReadRegister":{"name":"0","value":"fox jumps over\n"}}
{"Get":{"state":"ˇfox jumps over\nfox jumps over\nthe lazy dog","mode":"Normal"}}
{"ReadRegister":{"name":"1","value":"The quick brown\n"}}
{"Get":{"state":"ˇfox jumps over\nfox jumps over\nthe lazy dog","mode":"Normal"}}
{"ReadRegister":{"name":"\"","value":"The quick brown\n"}}
{"Key":"d"}
{"Key":"d"}
{"Key":"shift-g"}
{"Key":"d"}
{"Key":"d"}
{"Get":{"state":"ˇfox jumps over","mode":"Normal"}}
{"ReadRegister":{"name":"0","value":"fox jumps over\n"}}
{"Get":{"state":"ˇfox jumps over","mode":"Normal"}}
{"ReadRegister":{"name":"3","value":"The quick brown\n"}}
{"Get":{"state":"ˇfox jumps over","mode":"Normal"}}
{"ReadRegister":{"name":"2","value":"fox jumps over\n"}}
{"Get":{"state":"ˇfox jumps over","mode":"Normal"}}
{"ReadRegister":{"name":"1","value":"the lazy dog\n"}}
{"Get":{"state":"ˇfox jumps over","mode":"Normal"}}
{"Key":"d"}
{"Key":"d"}
{"Key":"\""}
{"Key":"3"}
{"Key":"p"}
{"Key":"p"}
{"Key":"\""}
{"Key":"1"}
{"Key":"p"}
{"Put":{"state":"The quick brown\nfox jumps over\nˇthe lazy dog"}}