Home
last modified time | relevance | path

Searched refs:wc (Results 1 – 19 of 19) sorted by relevance

/vim-8.2.3635/src/testdir/
H A Dtest_system.vim24 if executable('wc')
25 let out = system('wc -l', bufnr('%'))
30 let out = systemlist('wc -l', bufnr('%'))
50 call assert_fails('call system("wc -l", 99999)', 'E86:')
H A Dtest_terminal.vim762 CheckExecutable wc
765 %term wc
772 2,3term wc
H A Dtest_vim9_cmd.vim789 lockmarks :1,2!wc
/vim-8.2.3635/src/
H A Dspell.c1815 wordcount_T *wc; in count_common_word() local
1833 wc = alloc(sizeof(wordcount_T) + STRLEN(p)); in count_common_word()
1834 if (wc == NULL) in count_common_word()
1836 STRCPY(wc->wc_word, p); in count_common_word()
1837 wc->wc_count = count; in count_common_word()
1838 hash_add_item(&lp->sl_wordcount, hi, wc->wc_word, hash); in count_common_word()
1842 wc = HI2WC(hi); in count_common_word()
1843 if ((wc->wc_count += count) < (unsigned)count) // check for overflow in count_common_word()
1844 wc->wc_count = MAXWORDCOUNT; in count_common_word()
H A Dspellsuggest.c278 wordcount_T *wc; in score_wordcount_adj() local
285 wc = HI2WC(hi); in score_wordcount_adj()
286 if (wc->wc_count < SCORE_THRES2) in score_wordcount_adj()
288 else if (wc->wc_count < SCORE_THRES3) in score_wordcount_adj()
3176 int wc; in add_sound_suggest() local
3252 wc = idxs[idxs[n + i]]; // nr of words under this byte in add_sound_suggest()
3253 if (wordcount + wc > orgnr) in add_sound_suggest()
3255 wordcount += wc; in add_sound_suggest()
H A Doption.c4927 long wc; in put_setnum() local
4931 if (wc_use_keyname((char_u *)valuep, &wc)) in put_setnum()
4934 if (fputs((char *)get_special_key_name((int)wc, 0), fd) < 0) in put_setnum()
6648 long wc = 0; in option_value2string() local
6650 if (wc_use_keyname(varp, &wc)) in option_value2string()
6651 STRCPY(NameBuff, get_special_key_name((int)wc, 0)); in option_value2string()
6652 else if (wc != 0) in option_value2string()
6653 STRCPY(NameBuff, transchar((int)wc)); in option_value2string()
H A Dterminal.c2695 WCHAR wc; in terminal_loop() local
2700 if (MultiByteToWideChar(GetACP(), 0, (char*)mb, 2, &wc, 1) > 0) in terminal_loop()
2701 raw_c = wc; in terminal_loop()
3603 WCHAR wc = c; in term_line2screenline() local
3605 if (WideCharToMultiByte(GetACP(), 0, &wc, 1, in term_line2screenline()
H A Dops.c2941 varnumber_T *wc, in line_count_info() argument
2969 *wc += words; in line_count_info()
/vim-8.2.3635/runtime/doc/
H A Dusr_10.txt790 The Unix command "wc" counts words. To count the words in the current file: >
792 :write !wc
801 The "wc" command isn't verbose. This means you have 4 lines, 47 words and 249
806 :write! wc
808 This will write the file "wc" in the current directory, with force. White
H A Dcmdline.txt644 :!ls | wc view the output of two commands
645 :r !ls | wc insert the same output in the text
H A Dquickref.txt988 'wildchar' 'wc' command-line character for wildcard expansion
H A Doptions.txt8821 *'wildchar'* *'wc'*
8822 'wildchar' 'wc' number (Vim default: <Tab>, Vi default: CTRL-E)
8830 Although 'wc' is a number option, you can set it to a special key: >
8831 :set wc=<Tab>
H A Dtags1217 'wc' options.txt /*'wc'*
H A Dtodo.txt5710 and writing text "w !wc". (Deutsche) Allow arguments for fast start (e.g.
H A Dversion5.txt4394 Windows commander creates files called c:\tmp\$wc\abc.txt. Don't remove the
H A Dversion8.txt26195 Problem: Terminal test fails on MS-Windows when "wc" exists.
/vim-8.2.3635/runtime/
H A Doptwin.vim1102 call append("$", " \tset wc=" . &wc)
/vim-8.2.3635/runtime/syntax/
H A Dvim.vim35 …nc termwinsize tfu timeoutlen tm ts tty tw udf updatecount vbs viewdir vop wc wh wildignore wincol…
/vim-8.2.3635/runtime/autoload/
H A Dnetrw.vim5287 call search('\<'.curdir.'/','wc')