Sublime Forum

Vintage: remap "x" to delete to null register

#1

Hi all,

I’d really like to emulate the following vim macro in ST2 Vintage mode:

noremap x "_x

To avoid accidentally blowing away my default register contents.
I’ve been looking through the Vintage package options, and the best I can come up with is this:

"keys": "x"], "command": "set_action_motion", "args": { "action": "vi_right_delete", "contents":"\"_", "motion": null }, "context": {"key": "setting.command_mode"}]

But it is borked :frowning: I’m a novice here, so any help you can give me is much appreciated!

0 Likes