summaryrefslogtreecommitdiff
path: root/test/hxcases/goldens.jsonl
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-28 15:28:36 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:15 -0300
commitf59785670a2ff12cec33894add6dc1590c7b77b1 (patch)
tree30f61973ee24fd952d922a587d5893f9f2de1184 /test/hxcases/goldens.jsonl
parentff29fd633e979d24a191e7ecd0c26541e3b597ac (diff)
downloadpardes-f59785670a2ff12cec33894add6dc1590c7b77b1.tar.gz
pardes-f59785670a2ff12cec33894add6dc1590c7b77b1.zip
Replacing a selection with the register keeps its direction
R always left the head on the pasted text's last char. helix maps the replaced range through the change, so a backward selection comes back backward, its head on the first char: helix-golf's reverse_golf_example (xbR) is where it showed. SPC R shares the path. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/hxcases/goldens.jsonl')
-rw-r--r--test/hxcases/goldens.jsonl2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/hxcases/goldens.jsonl b/test/hxcases/goldens.jsonl
index cab7393b..8ac110e6 100644
--- a/test/hxcases/goldens.jsonl
+++ b/test/hxcases/goldens.jsonl
@@ -287,6 +287,8 @@
{"name":"r-cancel-esc","text":"abc\n","mode":"normal","cursor":{"row":0,"col":1},"anchor":{"row":0,"col":1}}
{"name":"R-inline","text":"alpha lpha beta\n","mode":"normal","cursor":{"row":0,"col":5},"anchor":{"row":0,"col":0}}
{"name":"R-linewise","text":"one\ntwoone\n","mode":"normal","cursor":{"row":1,"col":6},"anchor":{"row":1,"col":3}}
+{"name":"R-backward","text":"alpha alpha \n","mode":"normal","cursor":{"row":0,"col":6},"anchor":{"row":0,"col":11}}
+{"name":"R-backward-linewise","text":"one\ntwo one\n\n","mode":"normal","cursor":{"row":1,"col":4},"anchor":{"row":1,"col":7}}
{"name":"tilde-sel-keeps","text":"ABC\n","mode":"normal","cursor":{"row":0,"col":2},"anchor":{"row":0,"col":0}}
{"name":"tilde-bare","text":"ABc\n","mode":"normal","cursor":{"row":0,"col":0},"anchor":{"row":0,"col":0}}
{"name":"backtick-lower","text":"abc\n","mode":"normal","cursor":{"row":0,"col":2},"anchor":{"row":0,"col":0}}