Searched refs:save_cursor (Results 1 – 16 of 16) sorted by relevance
97 let save_cursor = getcurpos()99 let save_cursor = winsaveview()179 call setpos('.', save_cursor)181 call winrestview(save_cursor)
26 let save_cursor = getcurpos()29 call setpos('.', save_cursor)
166 pos_T save_cursor; member186 is_state->save_cursor = curwin->w_cursor; // may be restored later in init_incsearch_state()229 pos_T save_cursor; in do_incsearch_highlighting() local339 save_cursor = curwin->w_cursor; in do_incsearch_highlighting()363 curwin->w_cursor = save_cursor; in do_incsearch_highlighting()380 curwin->w_cursor = is_state->save_cursor; in finish_incsearch_highlighting()383 if (!EQUAL_POS(is_state->save_cursor, is_state->search_start)) in finish_incsearch_highlighting()386 curwin->w_cursor = is_state->save_cursor; in finish_incsearch_highlighting()1094 isp->search_start = isp->save_cursor; in cmdline_erase_chars()1126 isp->search_start = isp->save_cursor; in cmdline_erase_chars()[all …]
1611 pos_T save_cursor; in eval_map_expr() local1627 save_cursor = curwin->w_cursor; in eval_map_expr()1633 curwin->w_cursor = save_cursor; in eval_map_expr()
221 pos_T save_cursor; in do_mouse() local233 save_cursor = curwin->w_cursor; in do_mouse()719 curwin->w_cursor = save_cursor; in do_mouse()
188 pos_T save_cursor = curwin->w_cursor; in edit() local212 if (!EQUAL_POS(curwin->w_cursor, save_cursor) in edit()216 && save_cursor.lnum <= curbuf->b_ml.ml_line_count) in edit()220 curwin->w_cursor = save_cursor; in edit()
340 pos_T save_cursor = curwin->w_cursor; in get_sw_value_pos() local345 curwin->w_cursor = save_cursor; in get_sw_value_pos()
8019 pos_T save_cursor; in search_cmn() local8090 pos = save_cursor = curwin->w_cursor; in search_cmn()8156 curwin->w_cursor = save_cursor; in search_cmn()8533 pos_T save_cursor; in do_searchpair() local8572 save_cursor = curwin->w_cursor; in do_searchpair()8620 curwin->w_cursor = save_cursor; in do_searchpair()8668 curwin->w_cursor = save_cursor; in do_searchpair()
2784 pos_T *lpos, save_cursor; in showmatch() local2831 save_cursor = curwin->w_cursor; in showmatch()2868 curwin->w_cursor = save_cursor; // restore cursor position in showmatch()
2494 pos_T save_cursor = curwin->w_cursor; in do_addsub() local2909 curwin->w_cursor = save_cursor; in do_addsub()
3230 pos_T save_cursor; in qf_jump_goto_line() local3233 save_cursor = curwin->w_cursor; in qf_jump_goto_line()3236 curwin->w_cursor = save_cursor; in qf_jump_goto_line()
4346 pos_T save_cursor = curwin->w_cursor; in nv_search() local4368 (cap->arg || !EQUAL_POS(save_cursor, curwin->w_cursor)) in nv_search()
674 let save_cursor = getpos('.')677 call setpos('.', save_cursor)705 let save_cursor = getpos('.')727 call setpos('.', save_cursor)
43 let save_cursor = getcurpos()44 eval save_cursor->setpos('.')
392 let save_cursor = winsaveview()410 call winrestview(save_cursor)
5735 let save_cursor = getcurpos()5737 call setpos('.', save_cursor)