2019-10-26 20:05:31 +03:00
|
|
|
" Set colorscheme
|
2020-01-19 15:24:46 +02:00
|
|
|
colorscheme onedark
|
2019-10-26 20:05:31 +03:00
|
|
|
|
2020-01-18 21:39:21 +02:00
|
|
|
" Floating window transparency
|
|
|
|
set winblend=10
|
|
|
|
|
2020-01-08 23:00:15 +02:00
|
|
|
" Enable italics
|
2020-01-19 00:56:08 +02:00
|
|
|
let g:onedark_terminal_italics=1
|
2020-01-08 22:07:32 +02:00
|
|
|
|
2020-01-08 23:00:15 +02:00
|
|
|
" Disable built-in statusline because airline shows it
|
2019-10-26 20:05:31 +03:00
|
|
|
set noshowmode
|
|
|
|
|
2020-01-08 23:00:15 +02: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 = ''
|
2020-01-19 00:56:08 +02:00
|
|
|
let g:airline_theme='onedark'
|
2020-01-08 23:00:15 +02:00
|
|
|
|
2019-10-26 20:05:31 +03:00
|
|
|
" True color support
|
|
|
|
set termguicolors
|
|
|
|
|
|
|
|
" Line numbering
|
|
|
|
set relativenumber
|
2020-01-08 22:07:32 +02:00
|
|
|
set number
|
2019-10-26 20:05:31 +03: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
|
2020-03-05 21:28:10 +02:00
|
|
|
|
|
|
|
" Don't wrap in the middle of words
|
|
|
|
set linebreak
|