mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-27 19:02:07 +00:00
1cc0798aea
Instead of trying to extend the Mode::Visual special case, just split out into three different modes.
20 lines
744 B
JSON
20 lines
744 B
JSON
{"Put":{"state":"The ˇquick brown\nfox jumps over\nthe lazy dog"}}
|
|
{"Key":"v"}
|
|
{"Get":{"state":"The «qˇ»uick brown\nfox jumps over\nthe lazy dog","mode":"Visual"}}
|
|
{"Key":"w"}
|
|
{"Key":"j"}
|
|
{"Get":{"state":"The «quick brown\nfox jumps oˇ»ver\nthe lazy dog","mode":"Visual"}}
|
|
{"Key":"escape"}
|
|
{"Get":{"state":"The quick brown\nfox jumps ˇover\nthe lazy dog","mode":"Normal"}}
|
|
{"Key":"v"}
|
|
{"Key":"k"}
|
|
{"Key":"b"}
|
|
{"Get":{"state":"The «ˇquick brown\nfox jumps o»ver\nthe lazy dog","mode":"Visual"}}
|
|
{"Put":{"state":"a\nˇ\nb\n"}}
|
|
{"Key":"v"}
|
|
{"Get":{"state":"a\n«\nˇ»b\n","mode":"Visual"}}
|
|
{"Key":"v"}
|
|
{"Get":{"state":"a\nˇ\nb\n","mode":"Normal"}}
|
|
{"Put":{"state":"a\nb\nˇ"}}
|
|
{"Key":"v"}
|
|
{"Get":{"state":"a\nb\nˇ","mode":"Visual"}}
|