# HG changeset patch # User Oleksandr Gavenko # Date 1312784153 -10800 # Node ID 3634a8ff70f5614f46ec1100505506696f6f464f # Parent feeb419935494b554c5398319197c7b78165a056# Parent d45758677427795380b1305f0a0f2c5ed6a78526 merged diff -r d45758677427 -r 3634a8ff70f5 .vimrc --- a/.vimrc Fri Aug 05 18:22:02 2011 +0300 +++ b/.vimrc Mon Aug 08 09:15:53 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: "\""