" General set encoding=utf-8 " text encoding set nocompatible " not compatible vith vi set autoread " auto load file modified outside filetype plugin indent on " indent configure depend on filetype syntax on " highlight syntax color desert
" search and match set incsearch " increasing search
" text formatting set nowrap " no wrap lines set number " show line numbers set shiftwidth=4 " tab width autocmd FileType c,cpp set noexpandtab " when filetype = c or cpp
" Compile and Run map <C-F9> :call Compile()<CR> function Compile() execute "silent! w" execute "!g++ % -o \%<" endfunc map <C-F10> :call Run()<CR> function Run() execute "!./%<" endfunc