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 }}
This repository was archived by the owner on Jun 27, 2026. It is now read-only.
When calling The Bro function (declared in vimrc) with <leader> r for example, selecting an existing (non-empty) old file path will display it on a new vim right pane.
Issue:
Now, doing the same for a previously existing file, does open a new buffer (displayed [new] in the console), but somehow the wincmd does not seem to be executed. Once the function exits, if the user types: :wincmd L this results in the desired behavior, why is this not working from the function scope ?
Normal behavior:
When calling The Bro function (declared in vimrc) with
<leader> rfor example, selecting an existing (non-empty) old file path will display it on a new vim right pane.Issue:
Now, doing the same for a previously existing file, does open a new buffer (displayed [new] in the console), but somehow the wincmd does not seem to be executed. Once the function exits, if the user types:
:wincmd Lthis results in the desired behavior, why is this not working from the function scope ?