Files
vim-sensible/plugin/sensible.vim
Tim Pope 5f0565f8e9 Bump t_Co from 8 to 16 where safe to do so
Doing this means color schemes can do bright colors without forcing
bold.  Do any other terminals not really support at least 16 colors?
2013-01-06 13:23:42 -05:00

65 lines
1.1 KiB
VimL

" sensible.vim - Defaults everyone can agree on
" Maintainer: Tim Pope <http://tpo.pe/>
if exists('g:loaded_sensible') || &compatible
finish
endif
let g:loaded_sensible = 1
filetype plugin indent on
if !exists('g:syntax_on')
syntax enable
endif
set backspace=indent,eol,start
set complete-=i
set showmatch
set autoindent
set smarttab
set ttimeout
set ttimeoutlen=50
set incsearch
set smartcase
set laststatus=2
set ruler
set showcmd
set wildmenu
set scrolloff=1
set sidescrolloff=5
set display+=lastline
if !&list && &listchars ==# 'eol:$'
set list
set listchars=tab:>\ ,trail:-,extends:>,precedes:<,nbsp:+
if &termencoding ==# 'utf-8' || &encoding ==# 'utf-8'
let &listchars = "tab:\u21e5 ,trail:\u2423,extends:\u21c9,precedes:\u21c7,nbsp:\u26ad"
let &fillchars = "vert:\u259a,fold:\u00b7"
endif
endif
set autoread
set fileformats=unix,dos,mac
set viminfo+=!
if exists('+undofile')
set undofile
endif
if &t_Co == 8 && $TERM !~# '^linux'
set t_Co=16
endif
if !exists('g:loaded_matchit') && findfile('plugin/matchit.vim', &rtp) ==# ''
runtime! macros/matchit.vim
endif
nnoremap Y y$
" vim:set ft=vim et sw=2: