From d555afe61ecb8b4c835f2ecc8df251772e885c37 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Thu, 21 Feb 2019 11:46:05 +0000 Subject: [PATCH] Move minpac command into plugin/commands.vim --- plugin/commands.vim | 6 ++++++ plugin/mappings.vim | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/plugin/commands.vim b/plugin/commands.vim index 43ca3ba..7198969 100644 --- a/plugin/commands.vim +++ b/plugin/commands.vim @@ -1,3 +1,9 @@ +" minpac +command! PackUpdate packadd minpac | source $MYVIMRC | + \ call minpac#update('', {'do': 'call minpac#status()'}) +command! PackStatus packadd minpac | source $MYVIMRC | call minpac#status() +command! PackClean packadd minpac | source $MYVIMRC | call minpac#clean() + " Sort Python Imports command! ISort call do#isort() diff --git a/plugin/mappings.vim b/plugin/mappings.vim index db3ddc7..7c189de 100644 --- a/plugin/mappings.vim +++ b/plugin/mappings.vim @@ -1,9 +1,3 @@ -" minpac -command! PackUpdate packadd minpac | source $MYVIMRC | - \ call minpac#update('', {'do': 'call minpac#status()'}) -command! PackStatus packadd minpac | source $MYVIMRC | call minpac#status() -command! PackClean packadd minpac | source $MYVIMRC | call minpac#clean() - " YouCompleteMe nnoremap fi :YcmCompleter FixIt nnoremap gd :YcmCompleter GoTo