| /vim-8.2.3635/src/testdir/ |
| H A D | vim9.vim | 8 let cwd = getcwd() 16 call chdir(cwd) 27 let cwd = getcwd() 34 call chdir(cwd) 45 let cwd = getcwd() 53 call chdir(cwd) 60 var cwd = getcwd() 67 chdir(cwd) 73 var cwd = getcwd() 80 chdir(cwd) [all …]
|
| H A D | test_autochdir.vim | 7 let cwd = getcwd() 24 call chdir(cwd) 29 let cwd = getcwd() 43 execute 'lcd' cwd 45 execute 'tcd' cwd 47 execute 'cd' cwd 61 call chdir(cwd)
|
| H A D | test_find_complete.vim | 11 let cwd = getcwd() 12 let test_out = cwd . '/test.out' 39 call chdir(cwd) 55 exec "set path=" . cwd . "/Xfind/**" 110 exec "set path=" . cwd . "/Xfind/**" 136 call chdir(cwd .. "/Xfind/in") 141 call chdir(cwd . "/Xfind/") 160 call chdir(cwd)
|
| H A D | test_getcwd.vim | 48 let g:cwd=getcwd() 51 call chdir(g:cwd) 119 let cwd = getcwd() 121 call assert_equal(cwd[-1:], '/') 123 call assert_equal(cwd[-1:], '\')
|
| H A D | test_fnamemodify.vim | 36 let cwd = getcwd() 39 call chdir(cwd) 47 call chdir(cwd)
|
| H A D | test_undo.vim | 525 let cwd = getcwd() 528 let cwd = substitute(cwd, '^\([a-zA-Z]\):', '\1%', 'g') 530 let cwd = substitute(cwd . '/Xundofoo', '/', '%', 'g') 532 call assert_equal('Xundodir/' . cwd, undofile('Xundofoo'))
|
| H A D | test_cd.vim | 29 " Test that cd without argument echoes cwd on non-Unix systems.
|
| H A D | test_terminal.vim | 637 let buf = term_start(cmd, {'cwd': 'Xdir'}) 649 call assert_fails("call term_start(&shell, {'cwd': 'Xfile'})", 'E475:') 653 call assert_fails("call term_start(&shell, {'cwd': 'Xdir'})", 'E475:') 664 call assert_fails("call term_start(&shell, {'cwd': 'XdirNoAccess'})", 'E475:')
|
| H A D | test_terminal3.vim | 778 " Test for sync buffer cwd with shell's pwd
|
| H A D | test_channel.vim | 1902 let job = job_start(cmd, {'callback': {ch,msg -> execute(":let g:envstr .= msg")}, 'cwd': expect}) 2292 \ {'cwd' : ''},
|
| H A D | test_debugger.vim | 11 " in cwd
|
| /vim-8.2.3635/runtime/autoload/ |
| H A D | context.vim | 134 let l:cwd = fnamemodify(getcwd(), ":p") " Save local working directory 137 try " Set cwd to expand error file correctly 146 finally " Restore cwd and errorformat 148 execute 'lcd ' . fnameescape(l:cwd) 170 let l:cwd = fnamemodify(getcwd(), ":p") " Save local working directory 176 execute 'lcd ' . fnameescape(l:cwd)
|
| H A D | rust.vim | 353 " Executes {cmd} with the cwd set to {pwd}, without changing Vim's cwd. 354 " If {pwd} is the empty string then it doesn't change the cwd.
|
| /vim-8.2.3635/src/ |
| H A D | clientserver.c | 563 char_u *cwd; in build_drop_cmd() local 576 cwd = alloc(MAXPATHL); in build_drop_cmd() 577 if (cwd == NULL) in build_drop_cmd() 579 if (mch_dirname(cwd, MAXPATHL) != OK) in build_drop_cmd() 581 vim_free(cwd); in build_drop_cmd() 584 cdp = vim_strsave_escaped_ext(cwd, in build_drop_cmd() 591 vim_free(cwd); in build_drop_cmd()
|
| H A D | filepath.c | 784 char_u *cwd; in f_chdir() local 800 cwd = alloc(MAXPATHL); in f_chdir() 801 if (cwd != NULL) in f_chdir() 803 if (mch_dirname(cwd, MAXPATHL) != FAIL) in f_chdir() 806 slash_adjust(cwd); in f_chdir() 810 vim_free(cwd); in f_chdir() 1086 char_u *cwd; in f_getcwd() local 1117 cwd = alloc(MAXPATHL); in f_getcwd() 1118 if (cwd != NULL) in f_getcwd() 1120 if (mch_dirname(cwd, MAXPATHL) != FAIL) in f_getcwd() [all …]
|
| H A D | main.c | 45 static void edit_buffers(mparm_T *parmp, char_u *cwd); 2897 char_u *cwd) // current working dir in edit_buffers() argument 2921 if (cwd != NULL) in edit_buffers() 2922 mch_chdir((char *)cwd); in edit_buffers()
|
| H A D | window.c | 4871 char_u cwd[MAXPATHL]; in fix_current_dir() local 4873 if (mch_dirname(cwd, MAXPATHL) == OK) in fix_current_dir() 4874 globaldir = vim_strsave(cwd); in fix_current_dir()
|
| H A D | os_win32.c | 4032 char *cwd) in vim_create_process() argument 4040 if (cwd != NULL) in vim_create_process() 4042 wcwd = enc_to_utf16((char_u *)cwd, NULL); in vim_create_process()
|
| /vim-8.2.3635/runtime/ftplugin/ |
| H A D | awk.vim | 41 let path = substitute(path, '^\.\=:\|:\.\=$\|:\.\=:', ',,', 'g') " POSIX cwd
|
| H A D | ruby.vim | 77 let cwd = fnameescape(getcwd()) 81 exe cd cwd 84 exe cd cwd
|
| /vim-8.2.3635/runtime/syntax/ |
| H A D | d.vim | 255 syn region dString start=+"+ end=+"[cwd]\=+ skip=+\\\\\|\\"+ contains=dFormat,dEscSequence,@Spell 256 syn region dRawString start=+`+ end=+`[cwd]\=+ contains=@Spell 257 syn region dRawString start=+r"+ end=+"[cwd]\=+ contains=@Spell 258 syn region dHexString start=+x"+ end=+"[cwd]\=+ contains=@Spell 430 syn keyword dAsmOpCode contained cvttps2pi cvttsd2si cvttss2si cwd
|
| H A D | csh.vim | 20 syn match cshSetVariables contained "cwd\|home\|noclobber\|path\|shell\|verbose"
|
| H A D | dtrace.vim | 90 syn keyword dtraceIdentifier curthread cwd epid errno execname gid id ipl lgrp
|
| H A D | fasm.vim | 44 syn keyword fasmInstr cvttps2pi cvttsd2si cvttss2si cwd cwde daa das data dec div
|
| H A D | tcsh.vim | 53 …cat command compat_expr complete continue continue_args correct csubstnonl cwd dextract dirsfile d…
|