mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
28 lines
1.1 KiB
VimL
28 lines
1.1 KiB
VimL
" 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
|
|
|
|
set runtimepath=~/.vim,/usr/share/vim,/usr/share/vim/vimcurrent
|
|
|
|
" 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
|