colorscheme desert
set number
set autoindent
set smartindent
set tabstop=4
set shiftwidth=4
set showmatch
set ruler
set nohls
set incsearch
set bs=2
set cursorline
set laststatus=2
set statusline=%F%m%r%h%w\ [%{&ff}]\ [%Y]\ [%{&fileencoding}]\ [%l/%L]\ [%p%%]
if has('termguicolors')
set termguicolors
endif
set expandtab
set softtabstop=4
set splitbelow
set splitright
set completeopt=menuone,noinsert,noselect
set wildmenu
set wildmode=longest:full,full
set nobackup
set nowritebackup
set noswapfile
set numberwidth=4
set foldmethod=indent
set foldlevel=99
set wildignore+=*.o,*.obj,.git,*.rbc,*.pyc,__pycache__
autocmd BufEnter * match ErrorMsg '\s\+$'
autocmd BufWritePost $MYVIMRC source %
from many sources thanks :)