Search notes:

VIM struct: cmdarg_T

cmdarg_S/cmdarg_T stores arguments for normal mode commands.
typedef struct cmdarg_S
{
    oparg_T     *oap;           // Operator arguments
    int         prechar;        // prefix character (optional, always 'g')
    int         cmdchar;        // command character
    int         nchar;          // next command character (optional)
    int         ncharC1;        // first composing character (optional)
    int         ncharC2;        // second composing character (optional)
    int         extra_char;     // yet another character (optional)
    long        opcount;        // count before an operator
    long        count0;         // count before command, default 0
    long        count1;         // count before command, default 1
    int         arg;            // extra argument from nv_cmds[]
    int         retval;         // return: CA_* values
    char_u      *searchbuf;     // return: pointer to search pattern or NULL
} cmdarg_T;

Index