Home
last modified time | relevance | path

Searched refs:save_cursor (Results 1 – 16 of 16) sorted by relevance

/vim-8.2.3635/runtime/plugin/
H A Dmatchparen.vim97 let save_cursor = getcurpos()
99 let save_cursor = winsaveview()
179 call setpos('.', save_cursor)
181 call winrestview(save_cursor)
/vim-8.2.3635/runtime/autoload/
H A DRstFold.vim26 let save_cursor = getcurpos()
29 call setpos('.', save_cursor)
/vim-8.2.3635/src/
H A Dex_getln.c166 pos_T save_cursor; member
186 is_state->save_cursor = curwin->w_cursor; // may be restored later in init_incsearch_state()
229 pos_T save_cursor; in do_incsearch_highlighting() local
339 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 …]
H A Dmap.c1611 pos_T save_cursor; in eval_map_expr() local
1627 save_cursor = curwin->w_cursor; in eval_map_expr()
1633 curwin->w_cursor = save_cursor; in eval_map_expr()
H A Dmouse.c221 pos_T save_cursor; in do_mouse() local
233 save_cursor = curwin->w_cursor; in do_mouse()
719 curwin->w_cursor = save_cursor; in do_mouse()
H A Dedit.c188 pos_T save_cursor = curwin->w_cursor; in edit() local
212 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()
H A Dindent.c340 pos_T save_cursor = curwin->w_cursor; in get_sw_value_pos() local
345 curwin->w_cursor = save_cursor; in get_sw_value_pos()
H A Devalfunc.c8019 pos_T save_cursor; in search_cmn() local
8090 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() local
8572 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()
H A Dsearch.c2784 pos_T *lpos, save_cursor; in showmatch() local
2831 save_cursor = curwin->w_cursor; in showmatch()
2868 curwin->w_cursor = save_cursor; // restore cursor position in showmatch()
H A Dops.c2494 pos_T save_cursor = curwin->w_cursor; in do_addsub() local
2909 curwin->w_cursor = save_cursor; in do_addsub()
H A Dquickfix.c3230 pos_T save_cursor; in qf_jump_goto_line() local
3233 save_cursor = curwin->w_cursor; in qf_jump_goto_line()
3236 curwin->w_cursor = save_cursor; in qf_jump_goto_line()
H A Dnormal.c4346 pos_T save_cursor = curwin->w_cursor; in nv_search() local
4368 (cap->arg || !EQUAL_POS(save_cursor, curwin->w_cursor)) in nv_search()
/vim-8.2.3635/runtime/autoload/dist/
H A Dft.vim674 let save_cursor = getpos('.')
677 call setpos('.', save_cursor)
705 let save_cursor = getpos('.')
727 call setpos('.', save_cursor)
/vim-8.2.3635/src/testdir/
H A Dtest_cursor_func.vim43 let save_cursor = getcurpos()
44 eval save_cursor->setpos('.')
/vim-8.2.3635/runtime/indent/
H A Dtex.vim392 let save_cursor = winsaveview()
410 call winrestview(save_cursor)
/vim-8.2.3635/runtime/doc/
H A Deval.txt5735 let save_cursor = getcurpos()
5737 call setpos('.', save_cursor)