Vim icon indicating copy to clipboard operation
Vim copied to clipboard

need help with remap

Open elazarcoh opened this issue 5 years ago • 2 comments

Hi,

I'm New to vim & vscode-vim.

I would like to emulate a motion on character = as described here.

onoremap <silent> = :<C-U>normal! 0f=lv$h

I tried with operatorPendingModeKeyBindingsNonRecursive, but without success:

{
      "before": ["="],
       "after": [":<C-U>normal! ", "0", "f", "=", "l", "v", "$", "h"]
}

probably got it wrong.

can it be done? how?

Thanks

elazarcoh avatar Jun 09 '21 13:06 elazarcoh

@elazarcoh this isn't the right place for debugging help. Try the vscodevim slack channel.

kydonian avatar Jun 10 '21 18:06 kydonian

sorry. wasn't aware.

elazarcoh avatar Jun 10 '21 18:06 elazarcoh