From ca9da9129cbf648678c2bd6dce2116d6ef7a8a42 Mon Sep 17 00:00:00 2001 From: Sijmen Schoon Date: Fri, 7 Aug 2020 16:40:20 +0200 Subject: [PATCH] terminal,nvim: Light theme hype --- config/alacritty.yml | 58 +++++++++++++++++++++++++++++++++++++------- config/nvim/init.vim | 11 ++++++--- 2 files changed, 56 insertions(+), 13 deletions(-) diff --git a/config/alacritty.yml b/config/alacritty.yml index 5a859d1..a62d6bd 100644 --- a/config/alacritty.yml +++ b/config/alacritty.yml @@ -1,20 +1,60 @@ env: TERM: xterm-256color +# colors: +# primary: +# background: "0x2f343f" +# normal: +# black: "0x2f343f" +# red: "0xd54e53" +# green: "0xb9ca4a" +# yellow: "0xe6c547" +# blue: "0x7aa6da" +# magenta: "0xc397d8" +# cyan: "0x70c0ba" +# white: "0xeaeaea" + +window: + padding: + x: 4 + y: 4 + + dynamic_padding: true + colors: + # Default colors primary: - background: "0x2f343f" + background: '0xf9f9f9' + foreground: '0x383a42' + + # Normal colors normal: - black: "0x2f343f" - red: "0xd54e53" - green: "0xb9ca4a" - yellow: "0xe6c547" - blue: "0x7aa6da" - magenta: "0xc397d8" - cyan: "0x70c0ba" - white: "0xeaeaea" + black: '0x000000' + red: '0xe45649' + green: '0x50a14f' + yellow: '0x986801' + blue: '0x4078f2' + magenta: '0xa626a4' + cyan: '0x0184bc' + white: '0xa0a1a7' + + # Bright colors + bright: + black: '0x5c6370' + red: '0xe45649' + green: '0x50a14f' + yellow: '0x986801' + blue: '0x4078f2' + magenta: '0xa626a4' + cyan: '0x0184bc' + white: '0xffffff' + +mouse: + url: + modifiers: Control font: + size: 10 normal: family: Cascadia Code bold: diff --git a/config/nvim/init.vim b/config/nvim/init.vim index 15d69c7..70a3894 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -18,6 +18,7 @@ Plug 'sjl/gundo.vim' Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' Plug 'Yggdroot/indentLine' +Plug 'rakr/vim-one' " Programming helpers Plug 'Chiel92/vim-autoformat' @@ -97,7 +98,7 @@ if !exists('g:airline_symbols') let g:airline_symbols = {} endif -"let g:airline_theme = 'codedark' +let g:airline_theme = 'one' let g:airline_left_sep = '' let g:airline_left_alt_sep = '| ' let g:airline_right_sep = '' @@ -116,8 +117,9 @@ let g:airline#extensions#ale#enabled = 1 " Syntax coloring syntax enable set synmaxcol=1024 -set background=dark -colorscheme snow +colorscheme one +set background=light +let g:one_allow_italics = 1 hi WarningMsg ctermbg=0 " indentLine @@ -149,6 +151,7 @@ au FileType text,markdown setlocal textwidth=80 au FileType python setlocal textwidth=88 au FileType javascript setlocal textwidth=90 au FileType swift setlocal textwidth=120 +au FileType zig setlocal textwidth=100 au FileType tex setlocal textwidth=90 au FileType cpp,cpp.jinja setlocal textwidth=90 @@ -245,7 +248,7 @@ let g:ale_python_flake8_options='--max-line-length=88' let g:ale_python_mypy_options='--ignore-missing-imports' let g:ale_c_parse_compile_commands = 1 let g:ale_c_build_dir_names = ['build', 'bin', '.'] -"let g:ale_completion_enabled = 1 +let g:ale_completion_enabled = 0 set omnifunc=ale#completion#OmniFunc " Python