2021-07-23 16:08:03 +00:00
|
|
|
" General colorscheme settings
|
|
|
|
syntax on " Turn syntax highlighting on
|
|
|
|
colorscheme codedark " Requires vim-code-dark plugin
|
|
|
|
|
|
|
|
set cursorline " Highlight cursor line
|
2021-07-23 17:14:22 +00:00
|
|
|
set laststatus=2 " Always show status line
|
|
|
|
set number relativenumber " Show relative line numbers
|
|
|
|
set showmatch " Show matching brackets
|
|
|
|
set scrolloff=5 " Keep 5 lines horizonal scrolloff
|
|
|
|
set sidescrolloff=5 " Keep 5 characters vertical scrolloff
|
2021-07-23 16:08:03 +00:00
|
|
|
|
|
|
|
set guioptions-=m " Remove menubar
|
|
|
|
set guioptions-=T " Remove toolbar
|
|
|
|
set guioptions-=r " Remove right-hand scrollbar
|
|
|
|
set guioptions-=L " Remove left-hand scrollbar
|
|
|
|
|
|
|
|
if empty($DISPLAY) " Don't use true colors (256) in TTY
|
|
|
|
set notermguicolors
|
|
|
|
else
|
|
|
|
set termguicolors
|
|
|
|
endif
|
|
|
|
|