aboutsummaryrefslogtreecommitdiffstats
path: root/extra/vim/vimrc
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-01-09 21:00:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-01-09 21:00:07 +0000
commit3c2a6ceca4def527f59ffe56370eea764dcaefcc (patch)
tree10693c0c79440a62ac3d8334760aa86cf5f4bf8c /extra/vim/vimrc
parentb98c706f3d3c4e7fb8b70a2f52c5c59d13d8b4c5 (diff)
downloadaports-3c2a6ceca4def527f59ffe56370eea764dcaefcc.tar.bz2
aports-3c2a6ceca4def527f59ffe56370eea764dcaefcc.tar.xz
extra/vim: new aport
Diffstat (limited to 'extra/vim/vimrc')
-rw-r--r--extra/vim/vimrc13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/vim/vimrc b/extra/vim/vimrc
new file mode 100644
index 0000000000..8899238be3
--- /dev/null
+++ b/extra/vim/vimrc
@@ -0,0 +1,13 @@
+set nocompatible " Use Vim defaults (much better!)
+set bs=2 " Allow backspacing over everything in insert mode
+set ai " Always set auto-indenting on
+set history=50 " keep 50 lines of command history
+set ruler " Show the cursor position all the time
+
+" Don't use Ex mode, use Q for formatting
+map Q gq
+
+" When doing tab completion, give the following files lower priority.
+set suffixes+=.info,.aux,.log,.dvi,.bbl,.out,.o,.lo
+
+set nomodeline