forked from aniani/vim
patch 8.1.1823: command line history code is spread out
Problem: Command line history code is spread out. Solution: Put the code in a new file. (Yegappan Lakshmanan, closes #4779) Also graduate the +cmdline_hist feature.
This commit is contained in:
@@ -3543,12 +3543,6 @@ jumpto_tag(
|
||||
p_ws = TRUE; /* need 'wrapscan' for backward searches */
|
||||
p_ic = FALSE; /* don't ignore case now */
|
||||
p_scs = FALSE;
|
||||
#if 0 /* disabled for now */
|
||||
#ifdef FEAT_CMDHIST
|
||||
/* put pattern in search history */
|
||||
add_to_history(HIST_SEARCH, pbuf + 1, TRUE, pbuf[0]);
|
||||
#endif
|
||||
#endif
|
||||
save_lnum = curwin->w_cursor.lnum;
|
||||
curwin->w_cursor.lnum = 0; /* start search before first line */
|
||||
if (do_search(NULL, pbuf[0], pbuf + 1, (long)1,
|
||||
|
Reference in New Issue
Block a user