" Debian system-wide default configuration Vim set runtimepath=~/.vim,/var/lib/vim/addons,/usr/share/vim/vimfiles,/usr/share/vim/vim80,/usr/share/vim/vimfiles/after,/var/lib/vim/addons/after,~/.vim/after " 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 " modelines have historically been a source of security/resource " vulnerabilities -- disable by default, even when 'nocompatible' is set set nomodeline " 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 " We know xterm-debian is a color terminal if &term =~ "xterm-debian" || &term =~ "xterm-xfree86" set t_Co=16 set t_Sf=[3%dm set t_Sb=[4%dm endif " Some Debian-specific things if has("autocmd") if has('gui') " Must define this within the :if so it does not cause problems with " vim-tiny (which does not have +eval) function! <SID>MapExists(name, modes) for mode in split(a:modes, '\zs') if !empty(maparg(a:name, mode)) return 1 endif endfor return 0 endfunction " Make shift-insert work like in Xterm autocmd GUIEnter * if !<SID>MapExists("<S-Insert>", "nvso") | execute "map <S-Insert> <MiddleMouse>" | endif autocmd GUIEnter * if !<SID>MapExists("<S-Insert>", "ic") | execute "map! <S-Insert> <MiddleMouse>" | endif endif endif " Set paper size from /etc/papersize if available (Debian-specific) if filereadable("/etc/papersize") let s:papersize = matchstr(readfile('/etc/papersize', '', 1), '\p*') if strlen(s:papersize) exe "set printoptions+=paper:" . s:papersize endif endif
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
autoload | Folder | 0755 |
|
|
colors | Folder | 0755 |
|
|
compiler | Folder | 0755 |
|
|
doc | Folder | 0755 |
|
|
ftplugin | Folder | 0755 |
|
|
indent | Folder | 0755 |
|
|
keymap | Folder | 0755 |
|
|
lang | Folder | 0755 |
|
|
macros | Folder | 0755 |
|
|
pack | Folder | 0755 |
|
|
plugin | Folder | 0755 |
|
|
Folder | 0755 |
|
||
spell | Folder | 0755 |
|
|
syntax | Folder | 0755 |
|
|
tutor | Folder | 0755 |
|
|
bugreport.vim | File | 1.91 KB | 0644 |
|
debian.vim | File | 2.02 KB | 0644 |
|
defaults.vim | File | 4.02 KB | 0644 |
|
delmenu.vim | File | 645 B | 0644 |
|
evim.vim | File | 2.2 KB | 0644 |
|
filetype.vim | File | 54.74 KB | 0644 |
|
ftoff.vim | File | 280 B | 0644 |
|
ftplugin.vim | File | 971 B | 0644 |
|
ftplugof.vim | File | 337 B | 0644 |
|
gvimrc_example.vim | File | 1.56 KB | 0644 |
|
indent.vim | File | 767 B | 0644 |
|
indoff.vim | File | 282 B | 0644 |
|
menu.vim | File | 38.54 KB | 0644 |
|
mswin.vim | File | 3.32 KB | 0644 |
|
optwin.vim | File | 57.93 KB | 0644 |
|
rgb.txt | File | 17.36 KB | 0644 |
|
scripts.vim | File | 11.1 KB | 0644 |
|
synmenu.vim | File | 36.11 KB | 0644 |
|
vimrc_example.vim | File | 1.46 KB | 0644 |
|