summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-08-17 12:46:32 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-08-17 12:46:32 +0200
commitfcab5d1386726b3d2c1a4174c16d87ff2260c18d (patch)
tree15ab848ededec4ace7c92abba7ee1759478904f9
parent2c7e2455ebb1a9583018ee1ce1ce8a762bef576e (diff)
Include configs from other packages
-rw-r--r--etc/vimrc6
-rw-r--r--hooks/post-update3
-rw-r--r--provided/vimrc0
3 files changed, 4 insertions, 5 deletions
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
--- /dev/null
+++ b/provided/vimrc