# HG changeset patch # User Oleksandr Gavenko # Date 1312409754 -10800 # Node ID feeb419935494b554c5398319197c7b78165a056 # Parent 1f5fbfd5f6f4bcd11bafeb7b9020ba8dfdfa12b2 Add Kryshtop settings. diff -r 1f5fbfd5f6f4 -r feeb41993549 .vimrc --- a/.vimrc Sat Jul 30 11:12:46 2011 +0300 +++ b/.vimrc Thu Aug 04 01:15:54 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: "\""