Lines Matching refs:count1

715     ca.count1 = (ca.count0 == 0 ? 1 : ca.count0);  in normal_cmd()
723 set_vcount(ca.count0, ca.count1, set_prevcount); in normal_cmd()
2264 op_addsub(cap->oap, cap->count1, cap->arg); in nv_addsub()
2285 goto_tabpage(-(int)cap->count1); in nv_page()
2290 (void)onepage(cap->arg, cap->count1); in nv_page()
2709 scroll_redraw(cap->arg, cap->count1); in nv_scroll_line()
2826 cap->count1 = n ? n * cap->count1 : cap->count1; in nv_zet()
2928 cap->count1 *= curwin->w_width / 2; in nv_zet()
2936 if ((colnr_T)cap->count1 > curwin->w_leftcol) in nv_zet()
2939 curwin->w_leftcol -= (colnr_T)cap->count1; in nv_zet()
2945 case 'L': cap->count1 *= curwin->w_width / 2; in nv_zet()
2954 curwin->w_leftcol += (colnr_T)cap->count1; in nv_zet()
3070 openFold(curwin->w_cursor.lnum, cap->count1); in nv_zet()
3073 closeFold(curwin->w_cursor.lnum, cap->count1); in nv_zet()
3092 openFold(curwin->w_cursor.lnum, cap->count1); in nv_zet()
3106 closeFold(curwin->w_cursor.lnum, cap->count1); in nv_zet()
3138 curwin->w_p_fdl -= cap->count1; in nv_zet()
3153 case 'r': curwin->w_p_fdl += cap->count1; in nv_zet()
3170 cap->count1) == FAIL) in nv_zet()
3229 ? 0 : (int)cap->count1, in nv_zet()
3529 cap->count1 = -cap->count1; in nv_ctrlo()
3901 do_tag((char_u *)"", DT_POP, (int)cap->count1, FALSE, TRUE); in nv_tagpop()
3924 if (cap->count1 - 1 >= curwin->w_cursor.lnum) in nv_scroll()
3932 for (n = cap->count1 - 1; n > 0 in nv_scroll()
3942 curwin->w_cursor.lnum -= cap->count1 - 1; in nv_scroll()
3981 n = cap->count1 - 1; in nv_scroll()
4036 for (n = cap->count1; n > 0; --n) in nv_right()
4075 if (n == cap->count1) in nv_right()
4100 if (n != cap->count1 && (fdo_flags & FDO_HOR) && KeyTyped in nv_right()
4127 for (n = cap->count1; n > 0; --n) in nv_left()
4169 else if (cap->oap->op_type == OP_NOP && n == cap->count1) in nv_left()
4175 if (n != cap->count1 && (fdo_flags & FDO_HOR) && KeyTyped in nv_left()
4197 if (cursor_up(cap->count1, cap->oap->op_type == OP_NOP) == FAIL) in nv_up()
4243 if (cursor_down(cap->count1, cap->oap->op_type == OP_NOP) == FAIL) in nv_down()
4277 ptr = grab_file_name(cap->count1, &lnum); in nv_gotofile()
4310 cap->count1 = 1; // to end of current line in nv_end()
4329 if (cursor_down((long)(cap->count1 - 1), in nv_dollar()
4359 cap->searchbuf = getcmdline(cap->cmdchar, cap->count1, 0, TRUE); in nv_search()
4388 cap->count1 += 1; in nv_next()
4390 cap->count1 -= 1; in nv_next()
4416 i = do_search(cap->oap, dir, dir, pat, cap->count1, in normal_search()
4538 cap->count1, in nv_brackets()
4575 n = cap->count1; in nv_brackets()
4608 n = cap->count1; in nv_brackets()
4693 if (!findpar(&cap->oap->inclusive, cap->arg, cap->count1, flag, in nv_brackets()
4722 for (n = cap->count1; n > 0; --n) in nv_brackets()
4743 cap->count1, PUT_FIXINDENT); in nv_brackets()
4753 cap->count1) == FAIL) in nv_brackets()
4765 cap->count1) == FAIL) in nv_brackets()
4777 for (n = 0; n < cap->count1; ++n) in nv_brackets()
4872 if (findsent(cap->arg, cap->count1) == FAIL) in nv_brace()
4910 if (!findpar(&cap->oap->inclusive, cap->arg, cap->count1, NUL, FALSE)) in nv_findpar()
4954 u_undo((int)cap->count1); in nv_kundo()
5024 coladvance_force((colnr_T)(getviscol() + cap->count1)); in nv_replace()
5025 curwin->w_cursor.col -= cap->count1; in nv_replace()
5033 if (STRLEN(ptr) < (unsigned)cap->count1 in nv_replace()
5034 || (has_mbyte && mb_charlen(ptr) < cap->count1)) in nv_replace()
5048 stuffnumReadbuff(cap->count1); in nv_replace()
5069 (void)del_chars(cap->count1, FALSE); // delete the characters in nv_replace()
5078 prep_redo(cap->oap->regname, cap->count1, in nv_replace()
5094 for (n = cap->count1; n > 0; --n) in nv_replace()
5121 for (n = cap->count1; n > 0; --n) in nv_replace()
5149 colnr_T start = (colnr_T)(curwin->w_cursor.col - cap->count1); in nv_replace()
5152 (long)cap->count1); in nv_replace()
5154 &ptr[start], (int)cap->count1); in nv_replace()
5160 (colnr_T)(curwin->w_cursor.col - cap->count1)); in nv_replace()
5311 for (n = cap->count1; n > 0; --n) in n_swapchar()
5496 cap->count1 = 1; in nv_optrans()
5580 pos = movechangelist((int)cap->count1); in nv_pcmark()
5582 pos = movemark((int)cap->count1); in nv_pcmark()
5594 else if (cap->count1 < 0) in nv_pcmark()
5734 ++cap->count1; // include one more char in nv_visual()
5735 if (cap->count0 > 0 && --cap->count1 > 0) in nv_visual()
6008 if (!current_search(cap->count1, cap->nchar == 'n')) in nv_g_cmd()
6022 i = cursor_down(cap->count1, oap->op_type == OP_NOP); in nv_g_cmd()
6025 i = nv_screengo(oap, FORWARD, cap->count1); in nv_g_cmd()
6036 i = cursor_up(cap->count1, oap->op_type == OP_NOP); in nv_g_cmd()
6039 i = nv_screengo(oap, BACKWARD, cap->count1); in nv_g_cmd()
6119 if (cursor_down((long)(cap->count1 - 1), in nv_g_cmd()
6150 if (cap->count1 == 1) in nv_g_cmd()
6177 else if (nv_screengo(oap, FORWARD, cap->count1 - 1) == FAIL) in nv_g_cmd()
6182 if (cap->count1 > 1) in nv_g_cmd()
6184 (void)cursor_down(cap->count1 - 1, FALSE); in nv_g_cmd()
6229 if (bckend_word(cap->count1, cap->nchar == 'E', FALSE) == FAIL) in nv_g_cmd()
6292 do_sleep(cap->count1 * 1000L, FALSE); in nv_g_cmd()
6381 (void)do_mouse(oap, cap->nchar, BACKWARD, cap->count1, 0); in nv_g_cmd()
6421 cap->count1 = -cap->count1; in nv_g_cmd()
6432 goto_tabpage(-(int)cap->count1); in nv_g_cmd()
6443 undo_time(cap->nchar == '-' ? -cap->count1 : cap->count1, in nv_g_cmd()
6495 cap->count1 = 1; in n_opencmd()
6527 u_redo((int)cap->count1); in nv_redo()
6639 if (cursor_down(cap->count1 - 1L, cap->oap->op_type == OP_NOP) == FAIL) in nv_lineop()
6700 if (bck_word(cap->count1, cap->arg, FALSE) == FAIL) in nv_bck_word()
6745 if (cap->count1 == 1 && vim_strchr(p_cpo, CPO_CW) != NULL) in nv_wordcmd()
6775 n = end_word(cap->count1, cap->arg, flag, FALSE); in nv_wordcmd()
6777 n = fwd_word(cap->count1, cap->arg, cap->oap->op_type != OP_NOP); in nv_wordcmd()
7215 if (edit(cmd, startln, cap->count1)) in invoke_edit()
7246 flag = current_word(cap->oap, cap->count1, include, FALSE); in nv_object()
7249 flag = current_word(cap->oap, cap->count1, include, TRUE); in nv_object()
7254 flag = current_block(cap->oap, cap->count1, include, '(', ')'); in nv_object()
7259 flag = current_block(cap->oap, cap->count1, include, '{', '}'); in nv_object()
7263 flag = current_block(cap->oap, cap->count1, include, '[', ']'); in nv_object()
7267 flag = current_block(cap->oap, cap->count1, include, '<', '>'); in nv_object()
7277 flag = current_tagblock(cap->oap, cap->count1, include); in nv_object()
7280 flag = current_par(cap->oap, cap->count1, include, 'p'); in nv_object()
7283 flag = current_sent(cap->oap, cap->count1, include); in nv_object()
7288 flag = current_quote(cap->oap, cap->count1, include, in nv_object()
7355 while (cap->count1-- && !got_int) in nv_at()
7536 do_put(cap->oap->regname, NULL, dir, cap->count1, flags); in nv_put_opt()