dotfiles/home/.config/nvim/rc/theme.vim

27 lines
886 B
VimL
Raw Normal View History

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
2021-08-16 01:19:56 +00:00
" Use more noticable cursor line color
highlight CursorLine guibg=#2b2b2b
" Don't use true colors in TTY
if empty($DISPLAY)
2021-07-23 16:08:03 +00:00
set notermguicolors
else
set termguicolors
endif