mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
1cc0798aea
Instead of trying to extend the Mode::Visual special case, just split out into three different modes.
16 lines
563 B
JSON
16 lines
563 B
JSON
{"Put":{"state":"The ˇquick brown\nfox jumps over\nthe lazy dog"}}
|
|
{"Key":"shift-v"}
|
|
{"Get":{"state":"The «qˇ»uick brown\nfox jumps over\nthe lazy dog","mode":"VisualLine"}}
|
|
{"Key":"x"}
|
|
{"Get":{"state":"fox ˇjumps over\nthe lazy dog","mode":"Normal"}}
|
|
{"Put":{"state":"a\nˇ\nb"}}
|
|
{"Key":"shift-v"}
|
|
{"Get":{"state":"a\n«\nˇ»b","mode":"VisualLine"}}
|
|
{"Key":"x"}
|
|
{"Get":{"state":"a\nˇb","mode":"Normal"}}
|
|
{"Put":{"state":"a\nb\nˇ"}}
|
|
{"Key":"shift-v"}
|
|
{"Get":{"state":"a\nb\nˇ","mode":"VisualLine"}}
|
|
{"Key":"x"}
|
|
{"Get":{"state":"a\nˇb","mode":"Normal"}}
|