Home
last modified time | relevance | path

Searched refs:afile (Results 1 – 25 of 68) sorted by relevance

123

/vim-8.2.3635/runtime/plugin/
H A DvimballPlugin.vim32 …xpand("<afile>") | exe "1sp" fnameescape(expand("<afile>"))|endif|call vimball#Decompress(expand("…
33 …u SourceCmd *.vba if expand("%")!=expand("<afile>") | exe "1sp" fnameescape(expand("<afi…
35 …xpand("<afile>") | exe "1sp" fnameescape(expand("<afile>"))|endif|call vimball#Decompress(expand("…
36 …u SourceCmd *.vmb if expand("%")!=expand("<afile>") | exe "1sp" fnameescape(expand("<afi…
/vim-8.2.3635/runtime/autoload/
H A Dgzip.vim78 let tmpe = tmp . "." . expand("<afile>:e")
160 let nm = resolve(expand("<afile>"))
168 call rename(nmt . "." . expand("<afile>:e"), nm)
177 let nm = expand("<afile>")
186 let nmt = expand("<afile>:p:h") . "/X~=@l9q5"
187 let nmte = nmt . "." . expand("<afile>:e")
/vim-8.2.3635/src/testdir/
H A Dtest_autocmd.vim313 " <amatch> and <afile> are set to it.
321 autocmd WinClosed * let g:afile = str2nr(expand('<afile>'))
326 call assert_equal(winid, g:afile)
346 unlet g:afile
1457 au! QuitPre * let g:afile = expand('<afile>')
1460 call assert_equal('Xfoo', g:afile)
1462 unlet g:afile
2284 au BufReadPre *.gz call rename(expand("<afile>:r"), expand("<afile>"))
2285 au BufReadPost *.gz call rename(expand("<afile>"), expand("<afile>:r"))
2312 au FilterReadPre *.out call rename(expand("<afile>"), expand("<afile>") . ".t")
[all …]
H A Dtest_expand.vim81 call assert_fails('call expandcmd("make <afile>")', 'E495:')
82 call assert_fails('call expandcmd("make <afile>")', 'E495:')
H A Dtest_autochdir.vim13 autocmd DirChanged auto call add(s:li, expand("<afile>"))
H A Dtest_source.vim28 au SourceCmd *source* let did_source = expand('<afile>')
H A Druntest.vim110 if expand('<afile>') == 'messages' || expand('<afile>') =~ s:test_script_fname
H A Dtest_swap.vim175 let s:filename = expand('<afile>')
H A Dtest_syntax.vim368 call assert_fails('syntax include <afile>', 'E495:')
/vim-8.2.3635/runtime/doc/
H A Dautocmd.txt417 buffer being created "<afile>".
448 buffer being unloaded "<afile>".
461 buffer being created "<afile>".
494 buffer being unloaded "<afile>".
522 buffer being unloaded "<afile>".
534 buffer being deleted "<afile>".
566 <afile> is set to a single character,
1287 <amatch> and <afile> are set to the
1637 : autocmd BufWritePost,FileWritePost *.gz !mv <afile> <afile>:r
1641 : autocmd FileAppendPre *.gz !mv <afile>:r <afile>
[all …]
H A Dpi_zip.txt151 v3 Oct 18, 2005 * <amatch> used instead of <afile> in autocmds
H A Dpi_tar.txt160 Oct 18, 2005 * <amatch> used instead of <afile> in autocmds
H A Dcmdline.txt910 *:<afile>* *<afile>*
911 <afile> When executing autocommands, is replaced with the file name
922 It differs from <afile> only when the file name isn't used
956 "<afile>" or "<abuf>". They are also used with the |fnamemodify()| function.
H A Dusr_40.txt589 :autocmd BufReadPost *.new execute "doautocmd BufReadPost " . expand("<afile>:r")
598 The expand() function takes the "<afile>" argument, which stands for the file
H A Dquickref.txt1154 |:<afile>| <afile> file name, for use in an autocommand (only where a
1167 After "%", "#", "<cfile>", "<sfile>" or "<afile>"
H A Dversion5.txt1890 "<afile>" was not always set for autocommands. E.g., for ":au BufEnter *
1891 let &tags = expand("<afile>:p:h") . "/tags".
1904 File name used for <afile> was sometimes full path, sometimes file name
2509 For autocommands argument: <abuf> is buffer number, like <afile>.
2686 The FileChangedShell autocommand didn't set <afile> to the name of the changed
2933 name, the name of the current buffer was used for <afile>.
3247 The "<amatch>" pattern can be used like "<afile>" for autocommands, except
4420 This autocommand looped forever: ":au FileChangedShell * ++nested e <afile>"
/vim-8.2.3635/runtime/ftplugin/
H A Drust.vim67 \ if expand('<afile>') ==# 'delimitMate_map' && match(
81 \ if expand('<afile>') ==# 'delimitMate_unmap'
/vim-8.2.3635/runtime/
H A Dfiletype.vim21 \ exe "doau filetypedetect BufRead " . fnameescape(expand("<afile>:r"))
23 \ let s:name = expand("<afile>") |
30 \ if expand("<afile>:t") != "configure.in" |
31 \ exe "doau filetypedetect BufRead " . fnameescape(expand("<afile>:r")) |
115 \ if expand("<afile>") !~? 'Makefile.am\>' | setf elf | endif
998 \ if expand("<afile>") !~? 'html.m4$\|fvwm2rc' | setf m4 | endif
1170 \ if expand("<afile>") != "read.me" && expand("<afile>") != "click.me" |
2208 \ if expand("<afile>:e") == "m4"
2260 \ if executable(expand("<afile>")) != 1
H A Dmenu.vim689 let name = expand("<afile>")
/vim-8.2.3635/runtime/indent/testdir/
H A Druntest.vim19 if expand('<afile>') =~ '.*\.\(in\|out\|fail\|ok\)'
/vim-8.2.3635/runtime/pack/dist/opt/editexisting/plugin/
H A Deditexisting.vim78 au! SwapExists * let v:swapchoice = s:EditElsewhere(expand("<afile>:p"))
/vim-8.2.3635/src/
H A Dspellfile.c5899 afffile_T *(afile[MAXREGIONS]); in mkspell() local
5996 afile[i] = NULL; in mkspell()
6048 afile[i] = spell_read_aff(&spin, fname); in mkspell()
6049 if (afile[i] == NULL) in mkspell()
6056 if (spell_read_dic(&spin, fname, afile[i]) == FAIL) in mkspell()
6120 if (afile[i] != NULL) in mkspell()
6121 spell_free_aff(afile[i]); in mkspell()
/vim-8.2.3635/src/po/
H A Den_GB.po178 msgid "E495: no autocommand file name to substitute for \"<afile>\""
179 msgstr "E495: No autocommand file name to substitute for \"<afile>\""
H A Dzh_TW.UTF-8.po1130 msgid "E495: no autocommand file name to substitute for \"<afile>\""
1131 msgstr "E495: 沒有 Autocommand 檔名以取代 \"<afile>\""
/vim-8.2.3635/runtime/pack/dist/opt/termdebug/plugin/
H A Dtermdebug.vim1302 let fname = expand('<afile>:p')
1314 let fname = expand('<afile>:p')

123