filetype on filetype plugin on set showmatch " show matching braces set autowrite " save after :next and :make set number " show line numbers set nostartofline set tabpagemax=50 "set scrolloff=10 set noexpandtab "set expandtab " spaces instead tabs "set cursorline " indentation "set shiftwidth=4 set tabstop=4 " change tab size set autoindent set colorcolumn=95 " view max width column map :tabp map :tabn syntax on " enable color highlight colorscheme ksyrx " change color scheme " well... it's how ctrl+w, just ,+w let mapleader="," " fast saving nmap w :w! nmap nmap " remove all trailing whitespace nmap :let _s=@/:%s/\s\+$//e:let @/=_s " autocompletion enable/disable nmap :AcpEnable nmap :AcpDisable let g:acp_enableAtStartup=0 let g:acp_behaviorKeywordLength=4 " show full path of file in tabs "source mytabline.vim "set tabline=%!MyTabLine() " hide numbers column nmap :set nonumber nmap :set number " if you want retab something file (put this inside vim command line) " set ts=2 noet | retab! | set et ts=4 | retab " auto completion imap { {} "inoremap ( () "inoremap { {} "inoremap \" \"" \" like that line below, just for double quote " uncomment this removing \ "inoremap ' '' "inoremap [ [] " faster mouse scrolling set mouse=a