vim-operator-user
vim-operator-user copied to clipboard
Error occur when define 'normal .' operator by define_ex_command and use it
こんにちは。いつも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 .
で繰り返すことなのですが可能でしょうか?