vim-operator-user icon indicating copy to clipboard operation
vim-operator-user copied to clipboard

Error occur when define 'normal .' operator by define_ex_command and use it

Open deris opened this issue 10 years ago • 0 comments

こんにちは。いつもoperator-userを便利に使わせていただいています。ありがとうございます。 operator-userを使用していてエラーが発生したので報告させていただきます。

以下のようにnormal .を実行するoperatorを定義して、定義したoperatorを使用するとエラーが発生します。

call operator#user#define_ex_command('ex-dot', 'normal .')
nmap ,. <Plug>(operator-ex-dot)

Occured Error Error detected while processing function operator#user#_do_ex_command..operator#user#_do_ex_command..operator#user#_do_ex_command..

おそらく、normal .g@を繰り返しているからだと思われます。 もともとやりたかったことは、operator-userの操作を行う前の操作をnormal .で繰り返すことなのですが可能でしょうか?

deris avatar Sep 01 '13 14:09 deris