updated on Sun Jan 22 20:01:29 UTC 2012
[aur-mirror.git] / vim-x / archlinux.vim
blob148bb930fb56a7bea28206f7d1e0462f9f3f8d1c
1 " The ArchLinux global vimrc - setting only a few sane defaults
3 " Maintainer:      Tobias Kieslich [tobias funnychar archlinux dot org]
5 " NEVER EDIT THIS FILE, IT'S OVERWRITTEN UPON UPGRADES, GLOBAL CONFIGURATION
6 " SHALL BE DONE IN /etc/vimrc, USER SPECIFIC CONFIGURATION IN ~/.vimrc
8 " Normally we use vim-extensions. If you want true vi-compatibility
9 " remove change the following statements
10 set nocompatible                " Use Vim defaults instead of 100% vi compatibility
11 set backspace=indent,eol,start  " more powerful backspacing
13 " Now we set some defaults for the editor
14 set history=50                  " keep 50 lines of command line history
15 set ruler                       " show the cursor position all the time
17 " Suffixes that get lower priority when doing tab completion for filenames.
18 " These are files we are not likely to want to edit or read.
19 set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc
22 if has('gui_running')
23   " Make shift-insert work like in Xterm
24   map <S-Insert> <MiddleMouse>
25   map! <S-Insert> <MiddleMouse>
26 endif