Searched refs:swapname (Results 1 – 20 of 20) sorted by relevance
| /vim-8.2.3635/src/testdir/ |
| H A D | test_swap.vim | 7 func s:swapname() 8 return trim(execute('swapname')) 27 let swfname = s:swapname() 79 let swapname = s:swapname() 114 let fname = s:swapname() 151 let expected = s:swapname() 156 let expected = s:swapname() 174 let s:swapname = v:swapname 196 let s:swapname = '' 207 let s:swapname = '' [all …]
|
| H A D | test_recover.vim | 31 let swname = split(execute("swapname"))[0] 142 let b = readblob(swapname('')) 203 let sn = swapname('') 401 call assert_equal('.Xfile1.swp', fnamemodify(swapname(''), ':t')) 453 let sn = swapname('')
|
| H A D | test_signals.vim | 63 let swap_name = swapname('%')
|
| H A D | runtest.vim | 113 call assert_report('Unexpected swap file: ' .. v:swapname)
|
| H A D | test_vim9_builtin.vim | 3591 …CheckDefAndScriptFailure2(['swapname([])'], 'E1013: Argument 1: type mismatch, expected string but… 3592 assert_fails('swapname("NonExistingBuf")', 'E94:')
|
| H A D | test_quickfix.vim | 2984 call assert_match('.Xapple.swo', swapname(''))
|
| /vim-8.2.3635/src/ |
| H A D | ex_cmds.c | 2151 char_u *swapname; in check_overwrite() local 2173 swapname = makeswapname(fname, ffname, curbuf, dir); in check_overwrite() 2175 r = vim_fexists(swapname); in check_overwrite() 2185 swapname); in check_overwrite() 2189 vim_free(swapname); in check_overwrite() 2198 swapname); in check_overwrite() 2199 vim_free(swapname); in check_overwrite() 2203 vim_free(swapname); in check_overwrite()
|
| H A D | memline.c | 1962 char_u *swapname; in recover_names() local 1964 swapname = modname(fname_res, in recover_names() 1971 if (swapname != NULL) in recover_names() 1973 if (mch_stat((char *)swapname, &st) != -1) // It exists! in recover_names() 1978 files[0] = swapname; in recover_names() 1979 swapname = NULL; in recover_names() 1983 vim_free(swapname); in recover_names()
|
| /vim-8.2.3635/runtime/doc/ |
| H A D | recover.txt | 29 :sw[apname] *:sw* *:swapname* 31 Or you can use the |swapname()| function, which also allows for seeing the
|
| H A D | usr_11.txt | 305 |:swapname| See the name of the swap file for the current file.
|
| H A D | tags | 3225 :swapname recover.txt /*:swapname* 9315 swapname() eval.txt /*swapname()* 9316 swapname-variable eval.txt /*swapname-variable* 10015 v:swapname eval.txt /*v:swapname*
|
| H A D | eval.txt | 2311 *v:swapname* *swapname-variable* 2312 v:swapname Only valid when executing |SwapExists| autocommands: Name of 3045 swapname({buf}) String swap file of buffer {buf} 11150 swapname({buf}) *swapname()* 11154 |:swapname| (unless there is no swap file). 11158 GetBufname()->swapname()
|
| H A D | autocmd.txt | 1106 The |v:swapname| variable holds the name of
|
| H A D | index.txt | 1642 |:swapname| :sw[apname] show the name of the current swap file
|
| H A D | usr_41.txt | 890 swapname() get the swap file path of a buffer
|
| H A D | version7.txt | 970 |v:swapname| name of the swap file for the |SwapExists| event 1267 been added. The |v:swapname|, |v:swapchoice| and |v:swapcommand| variables
|
| H A D | todo.txt | 424 When editing a file with ":edit" the output of :swapname is relative, while
|
| H A D | version5.txt | 702 system is edited. |:swapname| On MSDOS the hidden file attribute is NOT
|
| H A D | version8.txt | 25969 |swapname()| 28326 Solution: Add swapname(). (Ozaki Kiichi, closes #3441)
|
| /vim-8.2.3635/runtime/syntax/ |
| H A D | vim.vim | 82 …placelist sin soundfold spellsuggest str2float strchars string strtrans swapname synstack tabpagew…
|