Home
last modified time | relevance | path

Searched refs:search (Results 1 – 25 of 338) sorted by relevance

12345678910>>...14

/vim-8.2.3635/runtime/colors/tools/
H A Dcheck_colors.vim14 if !search('\<\%(g:\)\?colors_name\>', 'cnW')
86 if search('\c@suppress\s\+\<' .. group .. '\>', 'cnW')
129 let line = search(bg_pat, 'cnW')
130 if search(bg_pat, 'cnW')
132 if search('hi \U\w\+\s\+\S', 'cbnW')
142 if !search(pat, 'ncW')
152 if !search(pat, 'cnW')
157 if search('syn\%[tax]\s\+on', 'cnW')
167 if search(pat, 'cW')
179 if search(pat, 'cnW')
[all …]
/vim-8.2.3635/runtime/doc/
H A Dpi_logipat.txt41 No search is done, but the conversion from the
45 :LogiPatFlags {search flags} *LogiPat-flags*
46 LogiPat uses the |search()| command. The flags
47 passed to that call to search() may be specified
50 :LPF {search flags} *:LPF*
54 If one calls LogiPat() directly, no search
71 < will search for lines containing the string :abc:
74 < will search for lines containing the string :ab"cd:
80 < will search for lines which contain either the string
84 < will search for lines which don't contain either
[all …]
H A Dusr_27.txt8 In chapter 3 a few simple search patterns were mentioned |03.9|. Vim can do
82 search patterns would suddenly become invalid.
99 search hit BOTTOM, continuing at TOP ~
104 search hit TOP, continuing at BOTTOM ~
122 To turn off search wrapping, use the following command: >
128 E385: search hit BOTTOM without match for: forever ~
132 If you search in the other direction, using "?", you get:
134 E384: search hit TOP without match for: forever ~
432 redefined without changing the search pattern.
433 For example, search for this pattern: >
[all …]
H A Dtagsrch.txt16 6. Include file searches |include-search|
376 *tag-binary-search*
380 another try is done with a linear search. If you only want the linear search,
632 *tag-search*
650 a search is done for:
655 made. If this search also fails another search is done with:
677 6. Include file searches *include-search* *definition-search*
744 See |:search-args| for [/] and [!].
759 See |:search-args| for [/] and [!].
777 See |:search-args| for [/] and [!].
[all …]
H A Dusr_03.txt21 |03.9| Simple search patterns
108 One of the most useful movement commands is the single-character search
145 Sometimes you will start a search, only to realize that you have typed the
148 aborted forward search and doesn't do anything. Note: <Esc> cancels most
341 them in a search you must put a \ in front of them. See below.
389 search commands in the other direction.
463 really jump to that location. Or type more to change the search string.
499 *03.9* Simple search patterns
501 The Vim editor uses regular expressions to specify what to search for.
552 If you search for "ter.", you will find these matches:
[all …]
H A Dpattern.txt7 Patterns and search commands *pattern-searches*
12 1. Search commands |search-commands|
25 1. Search commands *search-commands*
74 search is the first of:
150 use <Esc> to abandon the search.
171 *search-offset* *{offset}*
227 search command.
266 put in the search history.
276 "search hit TOP, continuing at BOTTOM" or "search hit BOTTOM, continuing at
281 *search-range*
[all …]
/vim-8.2.3635/runtime/ftplugin/
H A Dvim.vim72 nnoremap <silent><buffer> [[ m':call search('^\s*\(fu\%[nction]\\|def\)\>', "bW")<CR>
73 …vnoremap <silent><buffer> [[ m':<C-U>exe "normal! gv"<Bar>call search('^\s*\(fu\%[nction]\\|def\)\…
74 nnoremap <silent><buffer> ]] m':call search('^\s*\(fu\%[nction]\\|def\)\>', "W")<CR>
75 …vnoremap <silent><buffer> ]] m':<C-U>exe "normal! gv"<Bar>call search('^\s*\(fu\%[nction]\\|def\)\…
76 nnoremap <silent><buffer> [] m':call search('^\s*end\(f\%[unction]\\|def\)\>', "bW")<CR>
78 nnoremap <silent><buffer> ][ m':call search('^\s*end\(f\%[unction]\\|def\)\>', "W")<CR>
79 …vnoremap <silent><buffer> ][ m':<C-U>exe "normal! gv"<Bar>call search('^\s*end\(f\%[unction]\\|def…
82 nnoremap <silent><buffer> ]" :call search('^\(\s*".*\n\)\@<!\(\s*"\)', "W")<CR>
83 …vnoremap <silent><buffer> ]" :<C-U>exe "normal! gv"<Bar>call search('^\(\s*".*\n\)\@<!\(\s*"\)', "…
84 nnoremap <silent><buffer> [" :call search('\%(^\s*".*\n\)\%(^\s*"\)\@!', "bW")<CR>
[all …]
H A Dhamster.vim37 noremap <silent><buffer> [[ :call search('^\s*sub\>', "bW")<CR>
38 noremap <silent><buffer> ]] :call search('^\s*sub\>', "W")<CR>
39 noremap <silent><buffer> [] :call search('^\s*endsub\>', "bW")<CR>
40 noremap <silent><buffer> ][ :call search('^\s*endsub\>', "W")<CR>
43 noremap <silent><buffer> ]# :call search('^\s*#\@!', "W")<CR>
44 noremap <silent><buffer> [# :call search('^\s*#\@!', "bW")<CR>
H A Dsql.vim57 " changed to using the search() function, which meant they no longer
385 nnoremap <buffer> <silent> ]] :call search('\c^\s*begin\>', 'W' )<CR>
386 nnoremap <buffer> <silent> [[ :call search('\c^\s*begin\>', 'bW' )<CR>
387 nnoremap <buffer> <silent> ][ :call search('\c^\s*end\W*$', 'W' )<CR>
388 nnoremap <buffer> <silent> [] :call search('\c^\s*end\W*$', 'bW' )<CR>
405 " Note, you cannot use \?, since these patterns can be used to search
442 " Could not figure out how to use a :call search() string in visual mode
444 " Unfortunately, this will add a entry to the search history
460 let b:comment_jump_over = "call search('".
463 let b:comment_skip_back = "call search('".
[all …]
H A Dsystemd.vim24 …let matches = matchlist(getline(search('\v^\s*\[\s*.+\s*\]\s*$', 'nbWz')), '\v^\s*\[\s*(\k+).*\]\s…
27 …return 'LESS= MANPAGER="less --pattern=''(^|,)\s+' . a:keyword . '=$'' --hilite-search" man ' . 's…
29 …return 'LESS= MANPAGER="less --pattern=''(^|,)\s+' . a:keyword . '=$'' --hilite-search" man ' . 's…
/vim-8.2.3635/runtime/syntax/
H A Dreadline.vim224 \ reverse-search-history
225 \ forward-search-history
286 \ character-search
302 \ vi-char-search
304 \ vi-search
311 \ vi-char-search
314 \ vi-search-again
318 \ vi-char-search
329 \ vi-char-search
332 \ vi-search-again
[all …]
/vim-8.2.3635/src/po/
H A Dcheck.vim139 let lnum = search('^msgid\>')
143 let strlnum = search('^msgstr\>')
144 let end = search('^$')
174 let plural = search('^msgid_plural ', 'n')
175 if (plural && search('^"Plural-Forms: ', 'n') == 0) || (plural && search('^msgstr\[0\] ".\+"', 'n')…
176 if search('^"Plural-Forms: ', 'n') == 0
179 let error = search('\(^"[A-Za-z-_]\+: .*\\n"\n\)\+\zs', 'n') - 1
184 elseif !plural && search('^"Plural-Forms: ', 'n')
189 let cte = search('^"Content-Transfer-Encoding:\s\+8-bit', 'n')
190 let ctc = search('^"Content-Type:.*;\s\+\<charset=[iI][sS][oO]_', 'n')
[all …]
/vim-8.2.3635/src/testdir/
H A Dtest_search.vim1 " Test for the search command
158 " CTRL-L adds to the search pattern
772 " Canceling search won't change @/
1332 call search("\%UC0000000")
1351 call search(getline("."))
1472 eval 'foobar'->search('c')
1476 call search('^$', 'c')
1479 call search('^$', 'bc')
1483 call search('.', 'c')
1767 " Test for various search offsets
[all …]
H A Dtest_gf.vim16 call search("^first")
17 call search("tmp")
19 call search("^second")
20 call search("URL")
27 call search("^third")
28 call search("name")
31 call search("URL")
34 call search("^fifth")
35 call search("URL")
38 call search("^sixth")
[all …]
H A Dtest_charsearch.vim1 " Test for character search commands - t, T, f, F, ; and ,
33 " check that repeating a search before and after a line fails
38 " clear the character search
46 " Test for character search in virtual edit mode with <Tab>
57 " Test for character search failure in latin1 encoding
71 " Test for using character search to find a multibyte character with composing
79 " use character search with a multi-byte character followed by a
87 " Test for character search with 'hkmap'
H A Dtest_function_lists.vim23 call search('^};$')
46 call search('^};$')
64 call search('\*functions\*$')
65 call search('^USAGE')
67 call search('\*\K\k*()\*$')
89 call search('\*function-list\*$')
91 call search('^==*$')
H A Dtest_gn.vim12 " simple search match
62 " backwards search
69 " search for single char
76 " search hex char
113 " search upwards with nowrapscan set
122 " search using the \zs atom
131 " make sure it works correctly for one-char wide search items
H A Dtest_findfile.vim83 " Test upwards search.
99 " Test upwards search with stop-directory.
110 " Test combined downwards and upwards search from Xdir2/.
158 " Test upwards dir search.
162 " Test upwards search with stop-directory.
166 " Test combined downwards and upwards dir search from Xdir2/.
/vim-8.2.3635/runtime/indent/
H A Drmd.vim69 if search('^[ \t]*```{r', "bncW") > search('^[ \t]*```$', "bncW")
71 elseif v:lnum > 1 && (search('^---$', "bnW") == 1 &&
72 \ (search('^---$', "nW") > v:lnum || search('^\.\.\.$', "nW") > v:lnum))
74 elseif search('^[ \t]*```{python', "bncW") > search('^[ \t]*```$', "bncW")
H A Dsml.vim61 let llet = search(a:pat, 'bW')
69 let llet = search(a:pat, 'bW')
76 call search(a:pend, 'bW')
87 call search(a:pend, 'bW')
100 " call search(a:pend, 'bW')
166 let lastSwitch = search('\<\(case\|handle\|fun\|datatype\)\>','bW')
177 call search('=')
191 call search('\<case\>',"bW")
196 call search('\<case\>',"bW")
H A Docaml.vim66 let llet = search(a:pat, 'bW')
74 let llet = search(a:pat, 'bW')
81 call search(a:pend, 'bW')
87 call search(a:pend, 'bW')
145 call search('|', 'bW')
189 call search(line)
190 return indent(search('^\s*\(\(exception\|external\|include\|open\|type\)\>\|val\>.*:\)', 'bW'))
196 …return indent(search('^\s*\(\(exception\|include\|initializer\|method\|open\|type\|val\)\>\|extern…
203 return indent(search('\<\(object\|object\s*(.*)\)\s*$', 'bW')) + shiftwidth()
238 call search('\*)', 'bW')
H A Delm.vim31 "call search(a:pend, 'bW')
65 return indent(search('^\s*case', 'bWn')) + &shiftwidth
73 return indent(search('{-', 'bWn'))
81 return indent(search('^\s*let', 'bWn'))
103 call search('-}', 'bW')
111 let l:ind = indent(search('^\s*\S+', 'bWn'))
H A Dclojure.vim99 " closing one. In case the we are still in the string, we search for the
150 call search('\S', 'Wb')
166 call search('\S', 'W')
180 call search('\[', 'W')
241 " Find the next enclosing [ or {. We can limit the second search
243 " zero and we search for an enclosing {.
299 call search('\v\S', 'W')
344 call search('\v\_s', 'cW')
345 call search('\v\S', 'W')
350 call search('\v\S', 'bW')
[all …]
/vim-8.2.3635/src/
H A Dif_cscope.c712 short search; in cs_create_cmd() local
718 search = 0; in cs_create_cmd()
721 search = 1; in cs_create_cmd()
724 search = 2; in cs_create_cmd()
727 search = 3; in cs_create_cmd()
730 search = 4; in cs_create_cmd()
733 search = 6; in cs_create_cmd()
736 search = 7; in cs_create_cmd()
739 search = 8; in cs_create_cmd()
742 search = 9; in cs_create_cmd()
[all …]
/vim-8.2.3635/runtime/indent/testdir/
H A Druntest.vim45 let start = search('\<START_INDENT\>')
46 let end = search('\<END_INDENT\>')
62 let lnum_exe = search('\<INDENT_EXE\>')
64 let indent_at = search('\<INDENT_\(AT\|NEXT\|PREV\)\>')
89 let lnum = search(pattern)

12345678910>>...14