summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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