Evgeny Podjachev  committed 9811b26

Next iteration.

  • Participants
  • Parent commits 8f22091
  • Branches default

Comments (0)

Files changed (2)

 syntax: glob
 " Make external commands work through a pipe instead of a pseudo-tty
 "set noguipty
+set nocompatible               " be iMproved
 " set the X11 font to use
 set guifont=Courier_New:h12:cRUSSIAN
 "set guifont=xos4\ Terminus\ 12
 set mousehide		" Hide the mouse when typing text
 set tabstop=4
-"set expandtab
-set shiftwidth=4
-set noai
-set nosi
-"set nocin
-set cin
-set bs=indent,eol,start
+set backspace=indent,eol,start  "allow backspacing over everything in insert mode
+set autoindent    " always set autoindenting on
+set cindent		" enables automatic C program indenting.
+set copyindent    " copy the previous indentation on autoindenting
+"set number        " always show line numbers
+set shiftwidth=4 " number of spaces to use for autoindenting
+set showmatch     " set show matching parenthesis
+set smarttab      " insert tabs on the start of a line according to
+                  "    shiftwidth, not tabstop
+set hlsearch      " highlight search terms
+set incsearch     " show search matches as you type
+set history=1000         " remember more commands and search history
+set undolevels=1000      " use many muchos levels of undo
+if v:version >= 730
+    set undofile                " keep a persistent backup file
+    set undodir=~/.vim/.undo,~/tmp,/tmp
+set visualbell                  " don't beep
+set noerrorbells                " don't beep
+set cursorline                  " underline the current line, for quick orientation
 set ruler
-set guioptions=aA
+set guioptions=aAe
 set completeopt=menu,menuone
 set tags+=./tags;/
 "begin Vundle
-set nocompatible               " be iMproved
 filetype off                   " required!
 set rtp+=~/.vim/bundle/vundle/
 syntax on
-" Switch on search pattern highlighting.
-set hlsearch
-" For Win32 version, have "K" lookup the keyword in a help file
-"if has("win32")
-"  let winhelpfile='windows.hlp'
-"  map K :execute "!start winhlp32 -k <cword> " . winhelpfile <CR>
-" Set nice colors
-" background for normal text is light grey
-" Text below the last line is darker grey
-" Cursor is green, Cyan when ":lmap" mappings are active
-" Constants are not underlined but have a slightly lighter background
-"  highlight Normal guibg=grey90
-"  highlight Cursor guibg=Green guifg=NONE
-"  highlight lCursor guibg=Cyan guifg=NONE
-"  highlight NonText guibg=grey80
-"  highlight Constant gui=NONE guibg=grey95
-"  highlight Special gui=NONE guibg=grey95
 filetype on
 "This makes vim invoke latex-suite when you open a tex file.
 filetype plugin on