2019-10-26 17:05:31 +00:00
|
|
|
" Set colorscheme
|
2020-01-08 20:07:32 +00:00
|
|
|
colorscheme material
|
2019-10-26 17:05:31 +00:00
|
|
|
|
2020-01-08 20:07:32 +00:00
|
|
|
" Material theme variant
|
|
|
|
let g:material_theme_style = 'palenight'
|
2019-10-26 17:05:31 +00:00
|
|
|
|
2020-01-08 21:00:15 +00:00
|
|
|
" Enable italics
|
|
|
|
let g:material_terminal_italics = 1
|
2020-01-08 20:07:32 +00:00
|
|
|
|
2020-01-08 21:00:15 +00:00
|
|
|
" Disable built-in statusline because airline shows it
|
2019-10-26 17:05:31 +00:00
|
|
|
set noshowmode
|
|
|
|
|
2020-01-08 21:00:15 +00:00
|
|
|
" Airline
|
|
|
|
set laststatus=2
|
|
|
|
set encoding=utf-8
|
|
|
|
let g:airline#extensions#tabline#enabled = 1
|
|
|
|
let g:airline_powerline_fonts = 1
|
|
|
|
let g:airline_section_warning = ''
|
|
|
|
let g:airline_section_error = ''
|
|
|
|
let g:airline_theme='material'
|
|
|
|
|
2019-10-26 17:05:31 +00:00
|
|
|
" True color support
|
|
|
|
set termguicolors
|
|
|
|
|
|
|
|
" Line numbering
|
|
|
|
set relativenumber
|
2020-01-08 20:07:32 +00:00
|
|
|
set number
|
2019-10-26 17:05:31 +00:00
|
|
|
|
|
|
|
" Always show signcolumn
|
|
|
|
set signcolumn=yes
|
|
|
|
|
|
|
|
" Autoindent and syntax highlight
|
|
|
|
set autoindent
|
|
|
|
set smartindent
|
|
|
|
syntax on
|
|
|
|
filetype on
|
|
|
|
filetype plugin indent on
|
|
|
|
set tabstop=4
|
|
|
|
set shiftwidth=4
|
|
|
|
|
|
|
|
" Make gutter and cursorline bg transparent
|
|
|
|
highlight CursorLineNr guibg=transparent
|
|
|
|
highlight SignColumn guibg=transparent
|