summaryrefslogtreecommitdiffstats
path: root/abs/extra/vim/archlinux.vim
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-11-05 16:01:04 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-11-05 16:01:04 (GMT)
commit1090ea930b871de2db27cd08b59673d766c0cb01 (patch)
treed9f0cbc87894a6a63c3f849a71e39b34f465940e /abs/extra/vim/archlinux.vim
parent258e41f6c259ff81017e6974229c33f8dcd0ec05 (diff)
downloadlinhes_pkgbuild-1090ea930b871de2db27cd08b59673d766c0cb01.zip
linhes_pkgbuild-1090ea930b871de2db27cd08b59673d766c0cb01.tar.gz
linhes_pkgbuild-1090ea930b871de2db27cd08b59673d766c0cb01.tar.bz2
vim & gvim: update to 7.3
ref #647
Diffstat (limited to 'abs/extra/vim/archlinux.vim')
-rw-r--r--abs/extra/vim/archlinux.vim26
1 files changed, 26 insertions, 0 deletions
diff --git a/abs/extra/vim/archlinux.vim b/abs/extra/vim/archlinux.vim
new file mode 100644
index 0000000..148bb93
--- /dev/null
+++ b/abs/extra/vim/archlinux.vim
@@ -0,0 +1,26 @@
+" The ArchLinux global vimrc - setting only a few sane defaults
+"
+" Maintainer: Tobias Kieslich [tobias funnychar archlinux dot org]
+"
+" NEVER EDIT THIS FILE, IT'S OVERWRITTEN UPON UPGRADES, GLOBAL CONFIGURATION
+" SHALL BE DONE IN /etc/vimrc, USER SPECIFIC CONFIGURATION IN ~/.vimrc
+
+" Normally we use vim-extensions. If you want true vi-compatibility
+" remove change the following statements
+set nocompatible " Use Vim defaults instead of 100% vi compatibility
+set backspace=indent,eol,start " more powerful backspacing
+
+" Now we set some defaults for the editor
+set history=50 " keep 50 lines of command line history
+set ruler " show the cursor position all the time
+
+" Suffixes that get lower priority when doing tab completion for filenames.
+" These are files we are not likely to want to edit or read.
+set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc
+
+
+if has('gui_running')
+ " Make shift-insert work like in Xterm
+ map <S-Insert> <MiddleMouse>
+ map! <S-Insert> <MiddleMouse>
+endif