vim: Add g? convert to Rot13/Rot47 (#27824)

Release Notes:

- Added `g?` convert to `Rot13`/`Rot47`

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
0x2CA 2025-04-02 10:17:00 +08:00 committed by GitHub
parent 7bc0dd1bf6
commit 57d7bc23ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 252 additions and 23 deletions

View file

@ -0,0 +1,23 @@
{"Put":{"state":"ˇabc def"}}
{"Key":"g"}
{"Key":"?"}
{"Key":"w"}
{"Get":{"state":"ˇnop def","mode":"Normal"}}
{"Key":"g"}
{"Key":"?"}
{"Key":"w"}
{"Get":{"state":"ˇabc def","mode":"Normal"}}
{"Key":"."}
{"Get":{"state":"ˇnop def","mode":"Normal"}}
{"Put":{"state":"abˇc def"}}
{"Key":"g"}
{"Key":"?"}
{"Key":"i"}
{"Key":"w"}
{"Get":{"state":"ˇnop def","mode":"Normal"}}
{"Key":"."}
{"Get":{"state":"ˇabc def","mode":"Normal"}}
{"Key":"g"}
{"Key":"?"}
{"Key":"$"}
{"Get":{"state":"ˇnop qrs","mode":"Normal"}}

View file

@ -0,0 +1,6 @@
{"Put":{"state":"ˇabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"}}
{"Key":"g"}
{"Key":"?"}
{"Key":"i"}
{"Key":"w"}
{"Get":{"state":"ˇnopqrstuvwxyzabcdefghijklmNOPQRSTUVWXYZABCDEFGHIJKLM","mode":"Normal"}}

View file

@ -0,0 +1,15 @@
{"Put":{"state":"a😀C«dÉ1*fˇ»\n"}}
{"Key":"g"}
{"Key":"?"}
{"Get":{"state":"a😀CˇqÉ1*s\n","mode":"Normal"}}
{"Put":{"state":"abˇC\n"}}
{"Key":"shift-v"}
{"Key":"g"}
{"Key":"?"}
{"Get":{"state":"ˇnoP\n","mode":"Normal"}}
{"Put":{"state":"ˇaa\nbb\ncc"}}
{"Key":"ctrl-v"}
{"Key":"j"}
{"Key":"g"}
{"Key":"?"}
{"Get":{"state":"ˇna\nob\ncc","mode":"Normal"}}