mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-11-17 21:56:27 +00:00
Add saving and loading of plug snapshots
This commit is contained in:
parent
41ef5dc30f
commit
75261eb20a
@ -129,3 +129,11 @@ Plug 'pdurbin/vim-tsv'
|
|||||||
" Themes
|
" Themes
|
||||||
Plug 'altercation/vim-colors-solarized'
|
Plug 'altercation/vim-colors-solarized'
|
||||||
Plug 'vim-scripts/wombat256.vim'
|
Plug 'vim-scripts/wombat256.vim'
|
||||||
|
|
||||||
|
" Saving and loading specific versions of plugins
|
||||||
|
call s:source_rc('plug-snapshot.rc.vim')
|
||||||
|
function! s:save_snapshot()
|
||||||
|
let l:f_path = fnameescape(expand('~/.vim/rc/plug-snapshot.rc.vim'))
|
||||||
|
execute 'PlugSnapshot!' . l:f_path
|
||||||
|
endfunction
|
||||||
|
command! SavePlugSnapshot call s:save_snapshot()
|
||||||
|
Loading…
Reference in New Issue
Block a user