You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Expand :Focus :.Spawn into what will actually be called #270
I use :.Spawn to run the current test in a new window and automatically focus it. :Focus :.Dispatch expands :.Dispatch before setting the global focus to it, I'd expect :Focus :.Spawn to do the same.
If we collectively want this, I'd happily submit a PR if I can be put into the right direction.
I think what you want to do, effectively, is prepend :Spawn to the string. But make sure you end up with :Spawn -dir=... and not -dir=... :Spawn, and never add -compiler=....
Note that I retooled the existing :Focus :Dispatch support recently to fix some bugs.
Activity
tpope commentedon May 18, 2019
I think that would be fine, although it's starting to get convoluted.
teoljungberg commentedon May 18, 2019
This diff got
:Focus :.Spawnto expand:.Spawnto essentially run:.Dispatch- but it takes away the functionality of running:.Spawnin a new window.Ideas?
tpope commentedon Jun 9, 2019
I think what you want to do, effectively, is prepend
:Spawnto the string. But make sure you end up with:Spawn -dir=...and not-dir=... :Spawn, and never add-compiler=....Note that I retooled the existing
:Focus :Dispatchsupport recently to fix some bugs.tpope commentedon Jun 9, 2019
Oh, you'll actually need
:Spawn -wait=alwaysto match how:.Spawnworks.