# HG changeset patch # User Oleksandr Gavenko # Date 1312748589 -10800 # Node ID c745f917fce200da712be5a7ccec90a753bc1aa1 # Parent 54c314ad989de5cf1667ed8a3caecc4917b223fc# Parent feeb419935494b554c5398319197c7b78165a056 merged diff -r 54c314ad989d -r c745f917fce2 .vimrc --- a/.vimrc Sat Aug 06 01:35:54 2011 +0300 +++ b/.vimrc Sun Aug 07 23:23:09 2011 +0300 @@ -2,9 +2,25 @@ syntax on +colorscheme delek + +set sessionoptions=curdir,buffers,tabpages + +set showcmd +" Do not show line numbers. +set nonu +" Set command string height. +set ch=1 + +set hidden + " Do not emulate old vi bug. set nocompatible +set mouse=a +set mousemodel=popup +set mousehide + " Same as set ts=4, by default - 8, how long TAB. set tabstop=4 " Use spaces instead TAB. @@ -29,9 +45,11 @@ set incsearch set ignorecase set smartcase +set hlsearch " Have 3 lines of offset (or buffer) when scrolling. set scrolloff=3 +" set scrolljump=3 " I find the toolbar in the GUI version of vim (gvim) to be somewhat useless " visual clutter. This option gets rid of the toolbar. @@ -70,6 +88,24 @@ set wildmode=longest,list,full set wildmenu +set complete="" +" From current buffer. +set complete+=. +" From dictionary. +set complete+=k +" From another buffers. +set complete+=b +" From tags. +set complete+=t + +" Fix for comment +" set fo+=cr + +" set termencoding=cp866 +" set fileencoding=cp1251 +" set fileencodings=cp1251,cp866,utf8 +" set encoding=cp1251 + " Local Variables: " mode: fundamental " comment-start: "\""