syntax on
"Shared Clipboard and windows
set clipboard+=unnamed
not set
"Allowing the mouse to click to locate
set mouse=a
"Highlighting cursor line
set cursorline
"Ruler function, display the current cursor row and column numbers
set ruler
"Highlight matching brackets
set showmatch
"Provides automatic indenting for C programs
set smartindent
"Use C style indentation
set cindent
"Tabs to 4
set tabstop=4
"Unified indent 4
set softtabstop=4
set shiftwidth=4
"Autocomplete
filetype plugin indent on
set completeopt=longest,menu
"Highlight current line and set the color
set cursorline
hi CursorLine cterm=NONE ctermbg=darkgray
hi CursorColumn cterm=NONE ctermbg=darkred ctermfg=white
"Automatically fill all orders when using menu-match list
set wildmenu
autocmd FileType ruby,eruby set omnifunc=rubycomplete#Complete
autocmd FileType python set omnifunc=pythoncomplete#Complete
autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
autocmd FileType css set omnifunc=csscomplete#CompleteCSS
autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags
autocmd FileType java set omnifunc=javacomplete#Complet
"Highlight search results
set hlsearch
"Vim default color scheme
colorscheme industry
highlight LineNr ctermfg=darkgrey