Releases: junegunn/vim-plug
0.14.0
Allow pressing 'q' to abort the running tasks, then 'R' to retry (#1289)
In the previous versions of vim-plug, if you pressed 'q' while PlugInstall
or PlugUpdate
was in progress, vim-plug would immediately close its window and abort all the running processes.
This version enhances the 'q' map so that it doesn't immediately close the window, but instead displays the aborted tasks so that the user can press 'R' to retry the tasks.
Bug fixes
0.13.0
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'
0.12.0
0.11.0
0.10.0
0.9.1
Notable changes
-
Interactive
PlugClean
usingd
-operatordd
,dip
, ...
-
g:plug_pwindow
for customizing preview window layout (PlugDiff
)let g:plug_window = '-tabnew' let g:plug_pwindow = 'vertical rightbelow new'
-
Added support for
{ 'do': ':VimCommand' }
notation- e.g.
Plug 'fatih/vim-go', { 'do': ':GoInstallBinaries' }
- e.g.
-
Plug
command exported asplug#
function- e.g.
call plug#('junegunn/seoul256.vim')
- e.g.
0.9.0
:PlugUpgrade
to get the latest vim-plug.
Thanks to all that have contributed to vim-plug (listed in alphabetical order).
- @beatrupp
- @hobarrera
- @itspriddle
- @simonweil
- @srstevenson
- @starcraftman
- @yous
Notable changes
- #476 Support wildcards in tag option (Junegunn Choi)
- ProTip:
{ 'tag: '*' }
will point to the latest tagged release
- ProTip:
- #463 Make
Plug{Install,Update}!
trigger post-fetch checkout, submodule update (Chayoung You)- Use
PlugInstall!
to switch branches or tags without contacting the remote - Also can be used for retrying failed submodule update
- Use
- #462 Detect plugins that are diverged from their origins (Junegunn Choi)
PlugStatus
will detect such plugins andPlugClean
will try to remove them
- #428
PlugDiff
to include graphical representation of commit history (Junegunn Choi) - #371 Add
as
option (Junegunn Choi)- Used to resolve name conflict
Bug fixes and improvements
- #474 Load ftdetect files in filetypedetect augroup (Junegunn Choi)
- #460 Fall back to Python installer if Ruby is broken (Junegunn Choi)
- #459 Clear message on retry (Junegunn Choi)
- #455 git config should read local .git/config instead of $GIT_CONFIG (Junegunn Choi)
- Use on User autocmd if possible (Junegunn Choi)
- #451 Reset colors for git show (Simon Weil)
- #430 Refactor duplicate logic in installers (Junegunn Choi)
- #445 Remove redundant checks of git --version in Neovim installer (Junegunn Choi)
- #439 Do not proceed if getcwd() returns an empty string (Junegunn Choi)
- #434 Use runtime to load syntax file during ft-based ODL (Junegunn Choi)
- #419 Avoid multiple
syntax enable
during Vim startup (Joshua Priddle) - #410 Do not load irrelevant syntax files (Junegunn Choi)
- #407 Rename script-local function to generate better error message (Junegunn Choi)
- #394 Disable mappings during update (Jeremy Pallats/starcraft.man)
- #392 Better error message when git executable is not found (Junegunn Choi)
- #386 Only highlight vim-plug buffers if syntax enabled (Scott Stevenson)
0.8.0
:PlugUpgrade
to get the latest vim-plug.
New features:
- Added
commit
option for fine-grained version control - Fixed issues with parallel installer on Windows and enabled it by default
Improvements:
- Changed
PlugSnapshot
to create Vim script using the newcommit
option PlugDiff
to show pending updates for plugins locked oncommit
or ontag
- Enhanced output format of post-update hooks
Issues resolved:
- Fixed Ruby installer to unshallow tagged plugin on update (#350)
- Fixed output format of Neovim installer (#340)
- Remapped
q
in plug window tobd
(#336) - Fixed freeze in Python installer (#318)
- Case-sensitive validation of
on
arguments (#314) - Fixed post-update hook not to run on error
- Fixed
for
option to load syntax files (#272) - Fixed UnicodeDecodeError from Python installer (#262)
set nomodifiable
on commit preview window (#255)
Screenshots:
- New
PlugDiff
output - New
PlugSnapshot
output - Parallel installer on Windows (thanks to @mattn)