From b82109f8b29c0e05c4061198b22f77649309fead Mon Sep 17 00:00:00 2001 From: Rokas Puzonas Date: Mon, 1 Nov 2021 15:03:03 +0200 Subject: [PATCH] fix: add command to restart, recompile and sync plugins at the same time --- lua/config/reload.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/config/reload.lua b/lua/config/reload.lua index f17fe27..943d5e9 100644 --- a/lua/config/reload.lua +++ b/lua/config/reload.lua @@ -2,3 +2,5 @@ local map = require 'utils.map' map('n', 'rc', ':Restart', {silent = true}) +vim.cmd [[command! PackerRestart exe 'Restart' | exe 'PackerCompile' | exe 'PackerSync']] +