set autoindent set smartindent set linebreak set number set relativenumber set nowrap set splitbelow set splitright set undofile set noswapfile set termguicolors set scrolloff=5 set tabstop=4 set shiftwidth=0 set ignorecase set smartcase set completeopt=menuone,noselect if has('nvim-0.11') endif let mapleader = " " nnoremap - :Explore nnoremap :vert res +5 nnoremap :vert res -5 nnoremap :res +2 nnoremap :res -2 hi Normal guibg=NONE function! s:SetColorScheme() abort colo default hi Normal guibg=NONE hi NormalFloat guibg=NONE hi QuickFixLine gui=underline hi DiagnosticUnderlineError gui=undercurl hi DiagnosticUnderlineHint gui=undercurl hi DiagnosticUnderlineInfo gui=undercurl hi DiagnosticUnderlineWarn gui=undercurl endfunction augroup AfterBackgroundSet autocmd! autocmd OptionSet background call s:SetColorScheme() augroup END