Home
last modified time | relevance | path

Searched refs:HIST_SEARCH (Results 1 – 7 of 7) sorted by relevance

/vim-8.2.3635/src/
H A Dcmdhist.c72 return HIST_SEARCH; // must be '?' or '/' in hist_char2type()
232 && (type != HIST_SEARCH || sep == p[STRLEN(p) + 1])) in in_history()
307 if ((cmdmod.cmod_flags & CMOD_KEEPPATTERNS) && histype == HIST_SEARCH) in add_to_history()
313 if (histype == HIST_SEARCH && in_map) in add_to_history()
315 if (maptick == last_maptick && hisidx[HIST_SEARCH] >= 0) in add_to_history()
318 hisptr = &history[HIST_SEARCH][hisidx[HIST_SEARCH]]; in add_to_history()
322 if (--hisidx[HIST_SEARCH] < 0) in add_to_history()
323 hisidx[HIST_SEARCH] = hislen - 1; in add_to_history()
343 if (histype == HIST_SEARCH && in_map) in add_to_history()
519 if (histype == HIST_SEARCH && maptick == last_maptick && i == idx) in del_history_idx()
H A Dviminfo.c477 if (type == HIST_SEARCH) in hist_type2char()
552 if (!in_history(type, val + (type == HIST_SEARCH), in read_viminfo_history()
560 if (type == HIST_SEARCH) in read_viminfo_history()
619 int sep = type == HIST_SEARCH && vp[2].bv_type == BVAL_NR in handle_viminfo_history()
632 && (type != HIST_SEARCH || sep == p[STRLEN(p) + 1])) in handle_viminfo_history()
846 type == HIST_SEARCH ? _("Search String") : in write_viminfo_history()
896 if (type == HIST_SEARCH) in write_viminfo_history()
H A Dex_getln.c1427 if (histype == HIST_SEARCH in cmdline_browse_history()
2442 && (some_key_typed || histype == HIST_SEARCH)) in getcmdline_int()
2445 histype == HIST_SEARCH ? firstc : NUL); in getcmdline_int()
H A Dvim.h1124 #define HIST_SEARCH 1 // search commands macro
H A Dsearch.c161 add_to_history(HIST_SEARCH, pat, TRUE, NUL); in search_regcomp()
H A Dex_cmds.c3846 add_to_history(HIST_SEARCH, pat, TRUE, NUL); in ex_substitute()
H A Dnormal.c3835 add_to_history(HIST_SEARCH, buf, TRUE, NUL); in nv_ident()