vim: Add basic mark support (#11507)
Release Notes:
- vim: Added support for buffer-local marks (`'a-'z`) and some builtin
marks `'<`,`'>`,`'[`,`']`, `'{`, `'}` and `^`. Global marks (`'A-'Z`),
and other builtin marks (`'0-'9`, `'(`, `')`, `''`, `'.`, `'"`) are not
yet implemented. (#5122)
---------
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
co-authored by
Conrad Irwin
parent
9cef0ac869
commit
901cb8b3d2
@@ -0,0 +1,15 @@
|
||||
{"Put":{"state":"line one\nline ˇtwo\nline three"}}
|
||||
{"Key":"m"}
|
||||
{"Key":"a"}
|
||||
{"Key":"l"}
|
||||
{"Key":"'"}
|
||||
{"Key":"a"}
|
||||
{"Get":{"state":"line one\nˇline two\nline three","mode":"Normal"}}
|
||||
{"Key":"`"}
|
||||
{"Key":"a"}
|
||||
{"Get":{"state":"line one\nline ˇtwo\nline three","mode":"Normal"}}
|
||||
{"Key":"^"}
|
||||
{"Key":"d"}
|
||||
{"Key":"`"}
|
||||
{"Key":"a"}
|
||||
{"Get":{"state":"line one\nˇtwo\nline three","mode":"Normal"}}
|
||||
Reference in New Issue
Block a user