Home
last modified time | relevance | path

Searched refs:cword (Results 1 – 25 of 38) sorted by relevance

12

/vim-8.2.3635/runtime/syntax/
H A Dcolortest.vim75 let col1 = substitute(expand("<cword>"), '\(\a\+\)_on_\a\+', '\1', "")
76 let col2 = substitute(expand("<cword>"), '\a\+_on_\(\a\+\)', '\1', "")
80 …_'.expand("<cword>").' ctermfg='.expand("<cword>").' guifg='.expand("<cword>")| exec 'syn keyword …
/vim-8.2.3635/runtime/doc/
H A Dif_cscop.txt401 map <C-_> :cstag <C-R>=expand("<cword>")<CR><CR>
408 map g<C-]> :cs find 3 <C-R>=expand("<cword>")<CR><CR>
409 map g<C-\> :cs find 0 <C-R>=expand("<cword>")<CR><CR>
418 nmap <C-_>s :cs find s <C-R>=expand("<cword>")<CR><CR>
446 \:vert scs find s <C-R>=expand("<cword>")<CR><CR>
448 \:vert scs find g <C-R>=expand("<cword>")<CR><CR>
450 \:vert scs find c <C-R>=expand("<cword>")<CR><CR>
452 \:vert scs find t <C-R>=expand("<cword>")<CR><CR>
454 \:vert scs find e <C-R>=expand("<cword>")<CR><CR>
458 \:vert scs find d <C-R>=expand("<cword>")<CR><CR>
[all …]
H A Dcmdline.txt897 *:<cword>* *<cword>*
898 <cword> is replaced with the word under the cursor (like |star|)
1054 <cword> word under the cursor
H A Dwindows.txt963 :au! CursorHold *.[ch] ++nested exe "silent! psearch " . expand("<cword>")
968 :au! CursorHold *.[ch] ++nested exe "silent! ptag " . expand("<cword>")
986 : let w = expand("<cword>") " get the word under cursor
H A Dusr_27.txt71 \cword word, Word, WORD, WoRd, etc.
H A Dtips.txt108 let g:word = expand("<cword>")
H A Dquickref.txt1158 |:<cword>| <cword> word under the cursor (only where a file name is
/vim-8.2.3635/runtime/ftplugin/
H A Dman.vim85 let str = expand("<cword>")
97 let page = expand("<cword>")
133 " To support: nmap K :Man <cword>
134 if page == '<cword>'
135 let page = expand('<cword>')
H A Dpdf.vim36 elseif getline('.') =~ '/Prev\s\+\d\+\>\%(\s\+\d\)\@!' && expand("<cword>") =~ '^\d\+$'
37 return s:dodigits(expand("<cword>"))
H A Dgitrebase.vim44 nnoremap <buffer> <expr> K col('.') < 7 && expand('<Lt>cword>') =~ '\X' && getline('.') =~ '^\w\+\s…
H A Djulia.vim54 while attr == 'juliaMacro' || expand('<cword>') =~# '\<\%(global\|local\)\>'
H A Druby.vim359 return stripped == '' ? expand("<cword>") : stripped
/vim-8.2.3635/src/testdir/
H A Dtest_expand.vim71 call assert_equal('e Vim', expandcmd('e <cword>'))
110 :call assert_fails('call expandcmd("edit <cword>")', 'E348:')
131 new <cword> | new <cWORD>
H A Dtest_help_tagjump.vim47 call assert_true(expand('<cword>') == 'q?')
63 call assert_true(expand('<cword>') == 'expr-!=?')
69 call assert_true(expand('<cword>') == 'expr-isnot?')
H A Dtest_spell.vim24 call assert_equal('plong', expand('<cword>'))
26 call assert_equal('zpelling', expand('<cword>'))
28 call assert_equal('plong', expand('<cword>'))
38 call assert_equal('plong', expand('<cword>'))
42 call assert_equal('plong', expand('<cword>'))
47 call assert_equal('plong', expand('<cword>'))
51 call assert_equal('plong', expand('<cword>'))
H A Dtest_normal.vim493 call assert_equal('cbar', expand('<cword>'))
537 call assert_equal('color', expand("<cword>"))
/vim-8.2.3635/runtime/autoload/
H A Dpython3complete.vim76 let cword = ''
81 let cword = c . cword
83 elseif strlen(cword) > 0 || idx == 0
87 execute "py3 vimpy3complete('" . escape(cword, "'") . "', '" . escape(a:base, "'") . "')"
H A Dpythoncomplete.vim74 let cword = ''
79 let cword = c . cword
81 elseif strlen(cword) > 0 || idx == 0
85 execute "python vimcomplete('" . escape(cword, "'") . "', '" . escape(a:base, "'") . "')"
/vim-8.2.3635/runtime/
H A Dgvimrc_example.vim40 " map K :execute "!start winhlp32 -k <cword> " . winhelpfile <CR>
/vim-8.2.3635/src/proto/
H A Dspell.pro35 void make_case_word(char_u *fword, char_u *cword, int flags);
/vim-8.2.3635/src/
H A Dspellsuggest.c932 char_u cword[MAXWLEN]; in spell_suggest_file() local
962 make_case_word(p, cword, su->su_badflags); in spell_suggest_file()
963 p = cword; in spell_suggest_file()
3267 char_u cword[MAXWLEN]; in add_sound_suggest() local
3278 find_keepcap_word(slang, theword, cword); in add_sound_suggest()
3279 p = cword; in add_sound_suggest()
3287 make_case_word(theword, cword, flags); in add_sound_suggest()
3288 p = cword; in add_sound_suggest()
H A Dspell.c3041 make_case_word(char_u *fword, char_u *cword, int flags) in make_case_word() argument
3045 allcap_copy(fword, cword); in make_case_word()
3048 onecap_copy(fword, cword, TRUE); in make_case_word()
3051 STRCPY(cword, fword); in make_case_word()
4069 char_u cword[MAXWLEN]; in dump_word() local
4082 make_case_word(word, cword, flags); in dump_word()
4083 p = cword; in dump_word()
/vim-8.2.3635/runtime/indent/
H A Druby.vim114 \ ' || (expand("<cword>") == "do"' .
948 if expand('<cword>') =~# '\<class\|module\>'
H A Djavascript.vim166 return s:LookingAt() =~ '\k' ? expand('<cword>') : s:LookingAt()
/vim-8.2.3635/runtime/pack/dist/opt/matchit/autoload/
H A Dmatchit.vim724 " let fake = "end" . expand("<cword>")

12