From fcab5d1386726b3d2c1a4174c16d87ff2260c18d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 17 Aug 2008 12:46:32 +0200 Subject: Include configs from other packages --- etc/vimrc | 6 +----- hooks/post-update | 3 +++ provided/vimrc | 0 3 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 hooks/post-update create mode 100644 provided/vimrc diff --git a/etc/vimrc b/etc/vimrc index 211613c..e91dbd4 100644 --- a/etc/vimrc +++ b/etc/vimrc @@ -29,8 +29,4 @@ set dir=~/.vim-backup " Ignore case in searches set ignorecase -noremap - : -noremap r h -noremap n j -noremap t k -noremap h l +source ~/packages/vim/provided/vimrc diff --git a/hooks/post-update b/hooks/post-update new file mode 100644 index 0000000..e7bfb83 --- /dev/null +++ b/hooks/post-update @@ -0,0 +1,3 @@ +for inc in $PDIR/*/provides/vim/*(.N); { + echo "source $inc" >> $PDIR/vim/provided/vimrc +} diff --git a/provided/vimrc b/provided/vimrc new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3