Lines Matching refs:motion
1141 static int delmotion(Vi_t *vp,int motion, int mode) in delmotion() argument
1155 end = mvcursor(vp,motion); in delmotion()
1161 if( mode=='c' && end>begin && strchr("wW", motion) ) in delmotion()
1175 if( strchr("eE;,TtFf%", motion) ) in delmotion()
1180 delta = -delta + (motion=='%'); in delmotion()
1535 static int mvcursor(register Vi_t* vp,register int motion) in mvcursor() argument
1542 switch(motion) in mvcursor()
1567 switch(motion=getcount(vp,ed_getchar(vp->ed,-1))) in mvcursor()
1591 motion = last_virt; in mvcursor()
1595 motion = first_virt; in mvcursor()
1604 ed_ungetchar(vp->ed,motion); in mvcursor()
1611 motion = first_virt; in mvcursor()
1616 motion = last_virt; in mvcursor()
1620 if( incr*tcur_virt < motion) in mvcursor()
1623 if( incr*tcur_virt > motion) in mvcursor()
1624 tcur_virt = motion; in mvcursor()
1633 backword(vp,vp->repeat, motion); in mvcursor()
1642 endword(vp, vp->repeat, motion); in mvcursor()
1653 if(motion==';') in mvcursor()
1662 if(motion==',') in mvcursor()
1681 vp->last_find = motion; in mvcursor()
1736 forward(vp,vp->repeat, motion); in mvcursor()