Remove minpac in preparation for using Ansible

This commit is contained in:
Kenneth Benzie 2022-11-06 22:27:32 +00:00
parent 330329ef2b
commit ee5110efd8
4 changed files with 0 additions and 20 deletions

3
.gitmodules vendored
View File

@ -1,3 +0,0 @@
[submodule "pack/minpac/opt/minpac"]
path = pack/minpac/opt/minpac
url = https://github.com/k-takata/minpac.git

@ -1 +0,0 @@
Subproject commit 2f68c112ddf8752eb3b71d6c213d2e75dd78d0e1

View File

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

8
vimrc
View File

@ -11,14 +11,6 @@ if has('syntax') && !exists('g:syntax_on')
syntax enable syntax enable
endif endif
if exists('*minpac#init')
" When minpac is loaded define the Pack command to add packages.
command! -nargs=+ Pack call minpac#add(<args>)
else
" Otherwise define the Pack command to do nothing.
command! -nargs=+ Pack
endif
" Append work config to runtimepath and packpath. " Append work config to runtimepath and packpath.
set runtimepath+=~/.config/work set runtimepath+=~/.config/work
set packpath+=~/.config/work set packpath+=~/.config/work