From ba0dc327a8ab2121e38f9fe03c686e15ba43f6dc Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Fri, 8 Apr 2022 13:15:28 +0200 Subject: [PATCH] chore: move vim update to own function --- zshrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 716d2f0..2aa7a81 100644 --- a/zshrc +++ b/zshrc @@ -79,9 +79,13 @@ bindkey -M viins '^x^j' fzf-cd-widget # (j)ump # }}} # {{{ *** *** Functions *** *** +# Update Vim and Plugins +function vimUpdate () { + vim +PlugUpgrade +PlugInstall +PlugClean +qall +} + # Get OS X Software Updates, and update installed Ruby gems, Homebrew, npm, and their installed packages function update () { - nvim +PlugUpgrade +PlugInstall +PlugClean +qall brew update && brew outdated && brew upgrade && brew cleanup sudo gem update --system && sudo gem update && gem cleanup all npm update npm -g