zed/crates/vim/test_data/test_named_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

27 lines
753 B
JSON

{"Put":{"state":"The quick brown\nfox jˇumps over\nthe lazy dog"}}
{"Key":"\""}
{"Key":"a"}
{"Key":"d"}
{"Key":"a"}
{"Key":"w"}
{"Get":{"state":"The quick brown\nfox ˇover\nthe lazy dog","mode":"Normal"}}
{"ReadRegister":{"name":"a","value":"jumps "}}
{"Key":"\""}
{"Key":"shift-a"}
{"Key":"d"}
{"Key":"i"}
{"Key":"w"}
{"Get":{"state":"The quick brown\nfoxˇ \nthe lazy dog","mode":"Normal"}}
{"ReadRegister":{"name":"a","value":"jumps over"}}
{"Key":"\""}
{"Key":"a"}
{"Key":"p"}
{"Get":{"state":"The quick brown\nfox jumps oveˇr\nthe lazy dog","mode":"Normal"}}
{"Key":"\""}
{"Key":"a"}
{"Key":"d"}
{"Key":"a"}
{"Key":"w"}
{"Get":{"state":"The quick brown\nfox jumpˇs\nthe lazy dog","mode":"Normal"}}
{"ReadRegister":{"name":"a","value":" over"}}