Remove minpac in preparation for using Ansible
This commit is contained in:
parent
330329ef2b
commit
ee5110efd8
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -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
|
|
@ -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
8
vimrc
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user