Lines Matching defs:insert
133 #define INSERT 1
136 #define VNORMAL 0 /* command, insert or replace mode */
161 static int first_insert; /* set when starting in insert mode */
162 static int saved_inslen; /* saved inslen for first insert */
173 static int insert; /* non-zero in insert mode */
270 if (insert != 0) {
285 refresh(insert != 0);
480 if (insert != 0)
482 refresh(insert != 0);
503 if (insert != 0) {
539 insert = INSERT;
575 if (insert == REPLACE) {
628 /* If any chars are entered before escape, trash the saved insert
685 if (insert == INSERT) {
691 if (insert == REPLACE && es->cursor > es->linelen)
752 /* insert alias into macro buffer */
776 insert = INSERT;
783 insert = INSERT;
790 insert = INSERT;
833 insert = INSERT;
863 insert = INSERT;
892 insert = INSERT;
898 insert = INSERT;
935 insert = REPLACE;
945 insert = INSERT;
1087 insert = INSERT;
1148 if (insert == 0 && es->cursor != 0 && es->cursor >= es->linelen)
1309 if (putbuf(ibuf, inslen, insert==REPLACE) != 0)
1313 insert = 0;
1987 insert = INSERT;
2095 insert = INSERT;