diff options
author | fusion809 | 2016-10-24 23:07:15 +1000 |
---|---|---|
committer | fusion809 | 2016-10-24 23:07:15 +1000 |
commit | c53626366b784a23701b935c31ccc1708fc0aaa3 (patch) | |
tree | 1f74d7744df201a1bdeec6ce1e109e0ef19c4004 /archlinux.vim | |
parent | e883da7a808a8fd3285a7e9a6c2d9e706cf7c68c (diff) | |
download | aur-c53626366b784a23701b935c31ccc1708fc0aaa3.tar.gz |
Implementing the changes requested by mnyolt
Diffstat (limited to 'archlinux.vim')
-rw-r--r-- | archlinux.vim | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/archlinux.vim b/archlinux.vim new file mode 100644 index 000000000000..80890685196b --- /dev/null +++ b/archlinux.vim @@ -0,0 +1,25 @@ +" The ArchLinux global vimrc - setting only a few sane defaults +" +" Maintainer: Thomas Dziedzic [gostrc@gmail.com] +" +" 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,.png,.jpg + +if has('gui_running') + " Make shift-insert work like in Xterm + map <S-Insert> <MiddleMouse> + map! <S-Insert> <MiddleMouse> +endif |