syntax on set autoindent set smartindent set smarttab set ic set smartcase set statusline=%F%m%r%h%w\ [Format:\ %{&ff}]\ [Type:\ %Y]\ [Lines:\ %L\ @\ %p%%\ {%l;%v}] set laststatus=2 " completion set wildmode=longest:full set wildmenu filetype plugin on map :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q . let OmniCpp_MayCompleteDot = 1 let OmniCpp_MayCompleteArrow = 1 let OmniCpp_LocalSearchDecl = 1 let OmniCpp_ShowPrototypeInAbbr = 1 let OmniCpp_DefaultNamespaces = ["std", "_GLIBCXX_STD"] set tags+=~/system.tags setlocal omnifunc=syntaxcomplete#Complete set cot+=menuone " configure tags - add additional tags here or comment out not-used ones set tags+=~/.vim/tags/cpp set tags+=~/.vim/tags/gl set tags+=~/.vim/tags/sdl set tags+=~/.vim/tags/qt4 " build tags of your own project with CTRL+F12 map :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q . set number set showmode ruler set shiftwidth=4 set expandtab set ts=4 set mouse=c set backup set backupdir=~/.tmp set noerrorbells set novisualbell set t_vb= set fileencodings=utf-8 set encoding=utf-8 set termencoding=utf-8 set guifont=Terminus\ 8 set helplang=en set history=50 set hlsearch set incsearch set sidescroll=1 set nowrap set listchars=extends:>,precedes:< map :%!xxd map :%!xxd -r map :digraph map :!php -l %