filetype plugin indent on syntax on set hidden confirm set encoding=utf8 fileformat=unix fileformats=unix,dos set nohlsearch incsearch ignorecase set tabstop=8 shiftwidth=4 expandtab smarttab shiftround set autoindent copyindent preserveindent set virtualedit=block set ttimeout ttimeoutlen=0 set belloff=all set ruler laststatus=2 set signcolumn=number set shortmess+=Ic set scrolloff=5 sidescrolloff=5 set display=truncate set completeopt=menuone,noselect,popup completepopup=highlight:Pmenu set list listchars=tab:›\ ,extends:→,precedes:←,nbsp:·,trail:· set nowrap breakindent breakindentopt=sbr set formatoptions=cqjl set backspace=indent,eol,start set nospell spelllang=ru,en set commentstring= set nrformats=bin,hex set sessionoptions=buffers,curdir,tabpages,winsize set foldmethod=indent nofoldenable set diffopt+=vertical,algorithm:histogram,indent-heuristic set wildchar= wildcharm= wildmenu wildmode=full set wildignore=*.o,*.obj,*.bak,*.exe,*.swp,*.pdf,*.docx,*.xlsx,*.png set history=200 if executable('rg') | set grepprg=rg\ --vimgrep grepformat=%f:%l:%c:%m | endif silent! exe "colorscheme " .. (has('gui_running') ? 'freyeday' : 'saturnite')