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>
This commit is contained in:
co-authored by
Conrad Irwin
parent
3c3dad6830
commit
001f17c011
@@ -0,0 +1,30 @@
|
||||
{"Put":{"state":"The quick brown\nfox jˇumps over\nthe lazy dog"}}
|
||||
{"Key":"d"}
|
||||
{"Key":"i"}
|
||||
{"Key":"w"}
|
||||
{"Get":{"state":"The quick brown\nfox ˇ over\nthe lazy dog","mode":"Normal"}}
|
||||
{"ReadRegister":{"name":"-","value":"jumps"}}
|
||||
{"Key":"\""}
|
||||
{"Key":"_"}
|
||||
{"Key":"d"}
|
||||
{"Key":"d"}
|
||||
{"Get":{"state":"The quick brown\nthe ˇlazy dog","mode":"Normal"}}
|
||||
{"ReadRegister":{"name":"_","value":""}}
|
||||
{"Get":{"state":"The quick brown\nthe ˇlazy dog","mode":"Normal"}}
|
||||
{"Key":"\""}
|
||||
{"Key":"\""}
|
||||
{"Key":"d"}
|
||||
{"Key":"^"}
|
||||
{"Get":{"state":"The quick brown\nˇlazy dog","mode":"Normal"}}
|
||||
{"ReadRegister":{"name":"0","value":"the "}}
|
||||
{"Get":{"state":"The quick brown\nˇlazy dog","mode":"Normal"}}
|
||||
{"ReadRegister":{"name":"\"","value":"the "}}
|
||||
{"Key":"^"}
|
||||
{"Key":"\""}
|
||||
{"Key":"+"}
|
||||
{"Key":"d"}
|
||||
{"Key":"$"}
|
||||
{"Get":{"state":"The quick brown\nˇ","mode":"Normal"}}
|
||||
{"ReadRegister":{"name":"\"","value":"lazy dog"}}
|
||||
{"Get":{"state":"The quick brown\nˇ","mode":"Normal"}}
|
||||
{"ReadRegister":{"name":"\"","value":"lazy dog"}}
|
||||
Reference in New Issue
Block a user