Lines Matching refs:history
16 static histentry_T *(history[HIST_COUNT]) = {NULL, NULL, NULL, NULL, NULL}; variable
37 return history[hist_type]; in get_histentry()
43 history[hist_type] = entry; in set_histentry()
163 temp[i] = history[type][i]; in init_history()
168 temp[i] = history[type][j]; in init_history()
176 temp[i] = history[type][j]; in init_history()
178 vim_free(history[type][j].hisstr); in init_history()
186 vim_free(history[type]); in init_history()
187 history[type] = temp; in init_history()
224 if (history[type][i].hisstr == NULL) in in_history()
229 p = history[type][i].hisstr; in in_history()
231 && !(writing && history[type][i].viminfo) in in_history()
245 str = history[type][i].hisstr; in in_history()
250 history[type][last_i] = history[type][i]; in in_history()
253 history[type][i].hisnum = ++hisnum[type]; in in_history()
254 history[type][i].viminfo = FALSE; in in_history()
255 history[type][i].hisstr = str; in in_history()
256 history[type][i].time_set = vim_time(); in in_history()
318 hisptr = &history[HIST_SEARCH][hisidx[HIST_SEARCH]]; in add_to_history()
331 hisptr = &history[histype][hisidx[histype]]; in add_to_history()
361 return history[histype][hisidx[histype]].hisnum; in get_history_idx()
381 hist = history[histype]; in calc_hist_idx()
415 return history[histype][idx].hisstr; in get_history_entry()
432 hisptr = history[histype]; in clr_history()
473 hisptr = &history[histype][i]; in del_history_entry()
486 history[histype][last] = *hisptr; in del_history_entry()
495 if (history[histype][idx].hisstr == NULL) in del_history_entry()
515 vim_free(history[histype][i].hisstr); in del_history_idx()
525 history[histype][i] = history[histype][j]; in del_history_idx()
528 clear_hist_entry(&history[histype][i]); in del_history_idx()
668 p = history[HIST_CMD][i].hisstr; in remove_key_from_history()
749 hist = history[histype1]; in ex_history()