--- 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 <Enter> 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: "\""