Skip to content

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

@deris

Description

@deris

こんにちは。いつも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 .で繰り返すことなのですが可能でしょうか?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions