Lines Matching refs:afile

313   " <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>')
1458 " Close the other window, <afile> should be correct.
1460 call assert_equal('Xfoo', g:afile)
1462 unlet g:afile
1474 au! CmdlineChanged : let g:entered = expand('<afile>')
1480 au! CmdlineEnter : let g:entered = expand('<afile>')
1481 au! CmdlineLeave : let g:left = expand('<afile>')
1492 au! CmdlineEnter / let g:entered = expand('<afile>')
1493 au! CmdlineLeave / let g:left = expand('<afile>')
1674 let filename = resolve(expand("<afile>:p"))
1682 let filename = resolve(expand("<afile>:p"))
1925 autocmd test_dirchanged DirChanged global call add(s:li, expand("<afile>"))
1938 autocmd test_dirchanged DirChanged window call add(s:li, expand("<afile>"))
1953 autocmd test_dirchanged DirChanged auto call add(s:li, expand("<afile>"))
2283 au BufReadPre *.gz exe '!gzip -d ' . shellescape(expand("<afile>"))
2284 au BufReadPre *.gz call rename(expand("<afile>:r"), expand("<afile>"))
2285 au BufReadPost *.gz call rename(expand("<afile>"), expand("<afile>:r"))
2286 au BufReadPost *.gz exe '!gzip ' . shellescape(expand("<afile>:r"))
2312 au FilterReadPre *.out call rename(expand("<afile>"), expand("<afile>") . ".t")
2313 …ut exe 'silent !sed s/e/E/ ' . shellescape(expand("<afile>")) . ".t >" . shellescape(expand("<afi…
2314 au FilterReadPre *.out exe 'silent !rm ' . shellescape(expand("<afile>")) . '.t'
2351 au FileReadPre *.gz exe 'silent !gzip -d ' . shellescape(expand("<afile>"))
2352 au FileReadPre *.gz call rename(expand("<afile>:r"), expand("<afile>"))
2756 au BufEnter * call add(g:blist, [expand('<afile>'),
2757 \ win_gettype(bufwinnr(expand('<afile>')))])
2782 au BufEnter * if expand('<afile>') == 'one.txt' | 1close | endif
2801 au BufEnter * if expand('<afile>') == 'one.txt' | tabfirst | tabonly | endif