summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-05-19 19:32:57 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-05-19 19:32:57 +0200
commitd62e8b2e7c700d0b454ffaa13338efbe1cfa4dda (patch)
tree362e38a96390081f31e15b8859767010ed48660b
initial commit
-rw-r--r--.links1
-rw-r--r--etc/vimrc30
-rw-r--r--hooks/post-install1
3 files changed, 32 insertions, 0 deletions
diff --git a/.links b/.links
new file mode 100644
index 0000000..b9aa48f
--- /dev/null
+++ b/.links
@@ -0,0 +1 @@
+soft .vimrc packages/vim/etc/vimrc
diff --git a/etc/vimrc b/etc/vimrc
new file mode 100644
index 0000000..19a4256
--- /dev/null
+++ b/etc/vimrc
@@ -0,0 +1,30 @@
+"" vim:ft=vim
+
+set nocompatible
+" Line numbers
+set nu
+" FIXME what's that again?
+set title
+set ttyfast
+
+" I prefer 5 spaces per tab
+set tabstop=5
+set shiftwidth=5
+set shiftround
+" Automation.
+set autoindent
+
+set bg=dark
+colorscheme darkblue
+syntax enable
+
+" Show Tabs as »···
+set list
+set listchars=tab:»·
+
+" Only create .swp-files in ~/.vim-backup
+set backupdir=~/.vim-backup
+set dir=~/.vim-backup
+
+" Ignore case in searches
+set ignorecase
diff --git a/hooks/post-install b/hooks/post-install
new file mode 100644
index 0000000..78c4b44
--- /dev/null
+++ b/hooks/post-install
@@ -0,0 +1 @@
+mkdir -p ~/.vim-backup