From ee5110efd863e73c3c8bf022efe69e35492f9525 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Sun, 6 Nov 2022 22:27:32 +0000 Subject: [PATCH] Remove minpac in preparation for using Ansible --- .gitmodules | 3 --- pack/minpac/opt/minpac | 1 - plugin/commands.vim | 8 -------- vimrc | 8 -------- 4 files changed, 20 deletions(-) delete mode 100644 .gitmodules delete mode 160000 pack/minpac/opt/minpac diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index edd3c5a..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "pack/minpac/opt/minpac"] - path = pack/minpac/opt/minpac - url = https://github.com/k-takata/minpac.git diff --git a/pack/minpac/opt/minpac b/pack/minpac/opt/minpac deleted file mode 160000 index 2f68c11..0000000 --- a/pack/minpac/opt/minpac +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 2f68c112ddf8752eb3b71d6c213d2e75dd78d0e1 diff --git a/plugin/commands.vim b/plugin/commands.vim index 653f061..83ddcaa 100644 --- a/plugin/commands.vim +++ b/plugin/commands.vim @@ -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 command! ISort call do#isort() diff --git a/vimrc b/vimrc index 5bf2a7a..9b393b9 100644 --- a/vimrc +++ b/vimrc @@ -11,14 +11,6 @@ if has('syntax') && !exists('g:syntax_on') syntax enable endif -if exists('*minpac#init') - " When minpac is loaded define the Pack command to add packages. - command! -nargs=+ Pack call minpac#add() -else - " Otherwise define the Pack command to do nothing. - command! -nargs=+ Pack -endif - " Append work config to runtimepath and packpath. set runtimepath+=~/.config/work set packpath+=~/.config/work