From f6c1a78f35eedc6333195f57f5a0a983cf370164 Mon Sep 17 00:00:00 2001 From: ZeLibertineGamer Date: Fri, 10 Jun 2016 15:52:29 -0700 Subject: Initial commit --- update-plugins | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 update-plugins (limited to 'update-plugins') diff --git a/update-plugins b/update-plugins new file mode 100755 index 0000000..856f85a --- /dev/null +++ b/update-plugins @@ -0,0 +1,28 @@ +#!/bin/sh +# This is a simple front-end to vopher that will update all your plugins, +# clean up plugins that aren't in PLUGIN_LIST, and prune all .zip files. +# What more could you ask for from a wrapper? + +die() { + echo "$1" && exit +} + +PLUGIN_PATH="$HOME/projects/vimrc/bundle" +PLUGIN_LIST="$HOME/projects/vimrc/vopher.list" +_has_sparkup=$(grep -c sparkup ${PLUGIN_LIST}) +_tmp=$(pwd) +if [ "$_has_sparkup" -a -d ./bundle/sparkup ]; then + cd bundle/sparkup + unlink doc + unlink ftplugin + cd "$_tmp" +fi +_cmd="vopher -f "$PLUGIN_LIST" -dir "$PLUGIN_PATH" -ui=simple" +$_cmd -force update 2>vopher.log 1>/dev/null || die "Could not update! Consult vopher.log for details." +$_cmd -force -all prune 2>>vopher.log 1>/dev/null || die "Could not prune! Consult vopher.log for details." +if [ $_has_sparkup ]; then + cd "${PLUGIN_PATH}/sparkup" + make vim-pathogen --quiet + cd "$_tmp" +fi +echo "Plugins successfully updated." -- cgit v1.2.3-70-g09d2 dd92f04e'>treecommitdiff
path: root/gvimrc (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2020-05-02Reintegrate personal library as autoload scriptzlg2-16/+28
Functions that I've built up over time were squirreled away in a separate file for a while, but they were subtly broken and some didn't work. All functions in the library should now work as expected, and are easy to integrate into other installations of Vim.
2020-05-02colors/zlg.vim: Remove Trailing groupzlg1-3/+0
It wasn't applying correctly on files anyway.
2018-11-15add SetKeyMap function, export funcs to own filezlg2-194/+278
With this commit, I can toggle between Dvorak and QWERTY layouts with <Leader>q, making it much easier to edit text over the network.
2018-11-12Clean up function commentszlg1-7/+11
2018-11-12Add BufDiff()zlg1-0/+47