Compare commits

..

No commits in common. "76acb9cd90484afc53c7854ed4deadaba6b14b14" and "e4a11a2ffe4a318ed486ef78978d9bb00ee4eeb3" have entirely different histories.

2 changed files with 8 additions and 8 deletions

View File

@ -1,10 +1,10 @@
" minpac " minpac
function! s:minpac_init() abort command! PackUpdate packadd minpac | source $MYVIMRC |
packadd minpac | call minpac#init() | source $MYVIMRC \ call minpac#init() | call minpac#update('', {'do': 'call minpac#status()'})
endfunction command! PackStatus packadd minpac | source $MYVIMRC |
command! PackUpdate call s:minpac_init() | call minpac#update('', {'do': 'call minpac#status()'}) \ call minpac#init() | call minpac#status()
command! PackStatus call s:minpac_init() | call minpac#status() command! PackClean packadd minpac | source $MYVIMRC |
command! PackClean call s:minpac_init() | call minpac#clean() \ call minpac#init() | call minpac#clean()
" Sort Python Imports " Sort Python Imports
command! ISort call do#isort() command! ISort call do#isort()

4
vimrc
View File

@ -202,11 +202,11 @@ Pack 'jrozner/vim-antlr'
Pack 'greymd/oscyank.vim', {'type': 'opt'} Pack 'greymd/oscyank.vim', {'type': 'opt'}
let g:use_osc52 = $TMUX !=# '' && let g:use_osc52 = $TMUX !=# '' &&
\ trim(system('tmux show-options -g set-clipboard')) ==# 'set-clipboard on' \ trim(system('tmux show-options -g set-clipboard')) ==# 'set-clipboard on'
if g:use_osc52 && isdirectory(expand('~/.vim/pack/minpac/opt/oscyank.vim')) if g:use_osc52 && isdirectory('pack/minpac/opt/oscyank.vim')
packadd oscyank.vim packadd oscyank.vim
endif endif
" Load YouComplteMe if termdebug plugin is not loaded. " Load YouComplteMe if termdebug plugin is not loaded.
if isdirectory(expand('~/.vim/pack/minpac/opt/YouCompleteMe')) if !exists(':Termdebug') && isdirectory('pack/minpac/opt/YouCompleteMe')
packadd YouCompleteMe packadd YouCompleteMe
endif endif