From 3b065eeac62dd708cf2ad47e2ed33b0953110521 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Thu, 3 Jun 2021 23:09:50 +0700 Subject: [PATCH] chore(config): update alacritty and nvim config --- data/alacritty/alacritty.yml | 14 ++++++++++++++ data/alacritty/one-dark.yml | 22 ++++++++++++++++++++++ data/data.json | 8 ++++++++ data/nvim/init.vim | 1 + 4 files changed, 45 insertions(+) create mode 100644 data/alacritty/alacritty.yml create mode 100644 data/alacritty/one-dark.yml diff --git a/data/alacritty/alacritty.yml b/data/alacritty/alacritty.yml new file mode 100644 index 0000000..9951d4a --- /dev/null +++ b/data/alacritty/alacritty.yml @@ -0,0 +1,14 @@ +import: + - ~/.config/alacritty/one-dark.yml + +font: + normal: + family: Iosevka + style: Regular + bold: + family: Iosevka + style: Bold + italic: + family: Iosevka + style: Italic + size: 12 diff --git a/data/alacritty/one-dark.yml b/data/alacritty/one-dark.yml new file mode 100644 index 0000000..73417d4 --- /dev/null +++ b/data/alacritty/one-dark.yml @@ -0,0 +1,22 @@ +# https://github.com/alacritty/alacritty/wiki/Color-schemes +# Colors (One Dark - https://github.com/atom/atom/tree/master/packages/one-dark-syntax) +colors: + primary: + background: "#282c34" + foreground: "#abb2bf" + cursor: + text: CellBackground + cursor: "#528bff" # syntax-cursor-color + selection: + text: CellForeground + background: "#3e4451" # syntax-selection-color + normal: + black: "#5c6370" # mono-3 + red: "#e06c75" # red 1 + green: "#98c379" + yellow: "#e5c07b" # orange 2 + blue: "#61afef" + magenta: "#c678dd" + cyan: "#56b6c2" + white: "#828997" # mono-2 + diff --git a/data/data.json b/data/data.json index 9578900..2daa74c 100644 --- a/data/data.json +++ b/data/data.json @@ -8,6 +8,14 @@ } ] }, + "alacritty": { + "paths": [ + { + "internal": "data/alacritty", + "external": "~/.config/alacritty" + } + ] + }, "bat": { "paths": [ { diff --git a/data/nvim/init.vim b/data/nvim/init.vim index 6379941..2640d9c 100644 --- a/data/nvim/init.vim +++ b/data/nvim/init.vim @@ -39,6 +39,7 @@ Plug 'sheerun/vim-polyglot' Plug 'preservim/nerdtree' Plug 'machakann/vim-sandwich' Plug 'itchyny/lightline.vim' +Plug 'tpope/vim-fugitive' " Colorschemes Plug 'joshdick/onedark.vim'