Keeping track of the default branch of the origin (#1272)
vim-plug will now run git remote set-head origin -a
on PlugUpdate
to keep track of the default branch of each plugin so that it can still update a plugin even if its default branch has changed.
This additional command will slow down the update process, but this is an unavoidable price to pay for the correctness of the task. However, vim-plug will now run checkout and merge commands in parallel, so this improvement will slightly offset the slowdown.
Opening vim-plug window in a new tab by default (#1274)
- vim-plug will open its window in a new tab by default (
-tabnew
), so as not to disturb the current window layout - Preview window will open on the right to better show the full diff
If you prefer the old layout, use the following configuration:
let g:plug_window = 'vertical topleft new'
let g:plug_pwindow = 'above 12new'