diff options
author | Teddy Wing | 2020-08-26 19:54:00 +0200 |
---|---|---|
committer | Teddy Wing | 2020-08-31 19:30:25 +0200 |
commit | 5c0e0ed3d35ebf2445901a664ae16d2f902b5a27 (patch) | |
tree | 82d85a2c545c27cfdfd76a6e8bf21881f7189df9 /ftplugin/lua.vim | |
parent | 33fdb1443d13771c3daa4421cae9da3f667f5fc1 (diff) | |
download | dotvim-5c0e0ed3d35ebf2445901a664ae16d2f902b5a27.tar.bz2 |
ftplugin/go.vim: Create test file on alternate if it doesn't exist
When switching to a file's alternate (its test file), create the test if
the file doesn't exist. By default, a warning is issued if the file
doesn't exist. I wanted an easier way to create the test file.
Previously I'd use:
:e %:h<Tab><C-f>bbi_test<CR>
This uses the function that the `Plug` mappings call under the hood, and
turns on the `-bang` argument to have it create the test file if it
doesn't exist.
Diffstat (limited to 'ftplugin/lua.vim')
0 files changed, 0 insertions, 0 deletions