clone of my dotfiles.ssp.sh
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

add tokyio and kanagawa colorscheme

sspaeti 492aa7aa b6b44c8b

+133 -13
+2
Brewfile
··· 29 29 brew "kubernetes-cli" 30 30 brew "lastpass-cli", args: ["HEAD"] 31 31 brew "lazygit" 32 + brew "lua" 32 33 brew "mdcat" 33 34 brew "node" 34 35 brew "nativefier" ··· 66 67 cask "asana" 67 68 cask "beekeeper-studio" 68 69 cask "cyberduck" 70 + cask "dbeaver-community" 69 71 cask "disk-inventory-x" 70 72 cask "docker" 71 73 cask "drawio"
+1
backup_dotfiles.sh
··· 7 7 cp ~/.config/nvim/init.vim $git/general/dotfiles/nvim/init.vim 8 8 cp ~/.config/nvim/coc.vim $git/general/dotfiles/nvim/coc.vim 9 9 cp ~/.config/nvim/coc-settings.json $git/general/dotfiles/nvim/coc-settings.json 10 + cp -r ~/.config/nvim/lua $git/general/dotfiles/nvim/lua 10 11 cp -r ~/.config/nvim/themes $git/general/dotfiles/nvim/themes 11 12 cp -r ~/.config/nvim/plugin $git/general/dotfiles/nvim/plugin 12 13 cp -r ~/.config/nvim/autoload $git/general/dotfiles/nvim/autoload
+42 -11
nvim/init.vim
··· 18 18 call plug#begin('~/.config/nvim/vim-plug') 19 19 "theme 20 20 Plug 'vim-airline/vim-airline' 21 + Plug 'sheerun/vim-polyglot' 22 + "themes 21 23 Plug 'joshdick/onedark.vim' 22 - Plug 'sheerun/vim-polyglot' 23 24 Plug 'gruvbox-community/gruvbox' 24 - 25 + Plug 'folke/tokyonight.nvim', { 'branch': 'main' } 26 + Plug 'rebelot/kanagawa.nvim' 25 27 Plug 'christoomey/vim-system-copy' 26 28 "Plug 'valloric/youcompleteme' 27 29 Plug 'tpope/vim-surround' " Surrounding ysw) ··· 116 118 set hidden " Required to keep multiple buffers open multiple buffers 117 119 set timeoutlen=500 " By default timeoutlen is 1000 ms 118 120 121 + 119 122 "general 120 123 let mapleader = "\<Space>" 121 124 inoremap jk <ESC> ··· 195 198 " \ set fileformat=unix 196 199 197 200 " Other Languages and indentaion 198 - au BufNewFile,BufRead *.js, *.html, *.css 199 - \ set tabstop=2 200 - \ set softtabstop=2 201 - \ set shiftwidth=2 201 + " au BufNewFile,BufRead *.js, *.html, *.css 202 + " \ set tabstop=2 203 + " \ set softtabstop=2 204 + " \ set shiftwidth=2 202 205 203 206 " Others 204 207 " ··· 416 419 "cusotm stuff just for neovim 417 420 source $HOME/.config/nvim/themes/airline.vim 418 421 source $HOME/.config/nvim/themes/onedark.vim 422 + source $HOME/.config/nvim/themes/tokyonight.vim 419 423 420 424 " source settings 421 425 source $HOME/.config/nvim/plugin/harpoon.vim ··· 423 427 424 428 "syntax on 425 429 426 - ""Gruvbox: 427 - colorscheme gruvbox 428 - let g:airline_theme = 'gruvbox' "'one' 430 + lua require('themes.kanagawa') 431 + "colorscheme kanagawa 432 + 433 + ""Theme configs - tokyonight gruvbox onedark kanagawa 434 + let g:airline_theme = 'onedark' "'tokyonight' "'gruvbox' "'onedark' 435 + " let g:tokyonight_style = "night" 436 + " let g:tokyonight_italic_functions = 1 437 + " let g:tokyonight_comments = 1 438 + " let g:tokyonight_sidebars = [ "qf", "vista_kind", "terminal", "packer" ] 439 + " 440 + " " Change the "hint" color to the "orange" color, and make the "error" color bright red 441 + " let g:tokyonight_colors = { 442 + " \ 'hint': 'orange', 443 + " \ 'error': '#ff0000' 444 + " \ } 445 + 446 + 447 + 448 + " lua basic settings 449 + lua require('my_basic') 450 + 451 + 429 452 set encoding=utf8 430 - let g:airline_powerline_fonts = 1 453 + let g:airline_powerline_fonts = 1 "If you want the powerline symbols 454 + " let g:airline_filetype_overrides = { 455 + " \ 'coc-explorer': [ 'CoC Explorer', '' ], 456 + " \ 'fugitive': ['fugitive', '%{airline#util#wrap(airline#extensions#branch#get_head(),80)}'], 457 + " \ 'help': [ 'Help', '%f' ], 458 + " \ 'nerdtree': [ get(g:, 'NERDTreeStatusline', 'NERD'), '' ], 459 + " \ 'vim-plug': [ 'Plugins', '' ], 460 + " \ } 461 + 431 462 432 463 "set bg=dark 433 464 "let g:gruvbox_contrast_dark = 'hard' ··· 438 469 439 470 440 471 441 - au! BufWritePost $MYVIMRC source % " auto source when writing to init.vm alternatively you can run :source $MYVIMRC 472 + au! BufWritePost $RC source % " auto source when writing to init.vm alternatively you can run :source $MYVIMRC
+2
nvim/lua/my_basic.lua
··· 1 + vim.opt.listchars = {eol = '↵', tab = '→~', lead = '·', trail = '·', extends = "$"} 2 + vim.opt.list = true
+21
nvim/lua/themes/kanagawa.lua
··· 1 + -- Default options: 2 + require('kanagawa').setup({ 3 + undercurl = true, -- enable undercurls 4 + commentStyle = { italic = true }, 5 + functionStyle = {}, 6 + keywordStyle = { italic = true}, 7 + statementStyle = { bold = true }, 8 + typeStyle = {}, 9 + variablebuiltinStyle = { italic = true}, 10 + specialReturn = true, -- special highlight for the return keyword 11 + specialException = true, -- special highlight for exception handling keywords 12 + transparent = false, -- do not set background color 13 + dimInactive = false, -- dim inactive window `:h hl-NormalNC` 14 + globalStatus = false, -- adjust window separators highlight for laststatus=3 15 + colors = {}, 16 + overrides = {}, 17 + }) 18 + 19 + -- setup must be called before loading 20 + vim.cmd("colorscheme kanagawa") 21 +
+57
nvim/themes/themes/tokyonight.vim
··· 1 + " ============================================================================= 2 + " URL: https://github.com/ghifarit53/tokyonight-vim/ 3 + " Filename: autoload/airline/themes/tokyonight.vim 4 + " Author: Brian Gianforcaro 5 + " Email: b.gianfo@gmail.com 6 + " License: MIT License 7 + " ============================================================================= 8 + 9 + let g:airline#themes#tokyonight#palette = {} 10 + 11 + let s:style = get(g:, 'tokyonight_style', 'night') 12 + 13 + if s:style ==# 'night' 14 + let s:foreground = [ '#a9b1d6', 250 ] 15 + let s:background = [ '#1a1b26', 235 ] 16 + let s:background_alt = [ '#232433', 236 ] 17 + let s:background_grey = [ '#444B6A', 238 ] 18 + let s:red = [ '#F7768E', 203 ] 19 + let s:yellow = [ '#E0AF68', 179 ] 20 + let s:green = [ '#9ECE6A', 107 ] 21 + let s:blue = [ '#7AA2F7', 110 ] 22 + let s:purple = [ '#ad8ee6', 176 ] 23 + elseif s:style ==# 'storm' 24 + let s:foreground = [ '#a9b1d6', 250 ] 25 + let s:background = [ '#24283b', 235 ] 26 + let s:background_alt = [ '#2c3047', 236 ] 27 + let s:background_grey = [ '#444B6A', 238 ] 28 + let s:red = [ '#F7768E', 203 ] 29 + let s:yellow = [ '#E0AF68', 179 ] 30 + let s:green = [ '#9ECE6A', 107 ] 31 + let s:blue = [ '#7AA2F7', 110 ] 32 + let s:purple = [ '#ad8ee6', 176 ] 33 + endif 34 + 35 + " guifg guibg ctermfg ctermbg 36 + let s:airline_mode_normal = [ s:background[0], s:blue[0], s:background[1], s:blue[1] ] 37 + let s:airline_mode_insert = [ s:background[0], s:green[0], s:background[1], s:green[1] ] 38 + let s:airline_mode_replace = [ s:background[0], s:yellow[0], s:background[1], s:yellow[1] ] 39 + let s:airline_mode_visual = [ s:background[0], s:purple[0], s:background[1], s:purple[1] ] 40 + let s:airline_mode_inactive = [ s:foreground[0], s:background_grey[0], s:foreground[1], s:background_grey[1] ] 41 + 42 + let s:airline_info = [ s:foreground[0], s:background_grey[0], s:foreground[1], s:background_grey[1] ] 43 + let s:airline_statusline = [ s:foreground[0], s:background_alt[0], s:foreground[1], s:background_alt[1] ] 44 + 45 + function! s:tokyonight_color_map(mode) 46 + return airline#themes#generate_color_map(a:mode, s:airline_info, s:airline_statusline) 47 + endfunction 48 + 49 + let g:airline#themes#tokyonight#palette.normal = s:tokyonight_color_map(s:airline_mode_normal) 50 + let g:airline#themes#tokyonight#palette.insert = s:tokyonight_color_map(s:airline_mode_insert) 51 + let g:airline#themes#tokyonight#palette.replace = s:tokyonight_color_map(s:airline_mode_replace) 52 + let g:airline#themes#tokyonight#palette.inactive = s:tokyonight_color_map(s:airline_mode_inactive) 53 + let g:airline#themes#tokyonight#palette.visual = s:tokyonight_color_map(s:airline_mode_visual) 54 + let g:airline#themes#tokyonight#palette.terminal = s:tokyonight_color_map(s:airline_mode_insert) 55 + let g:airline#themes#tokyonight#palette.normal.airline_term = s:airline_statusline 56 + let g:airline#themes#tokyonight#palette.terminal.airline_term = s:airline_statusline 57 + let g:airline#themes#tokyonight#palette.visual.airline_term = s:airline_statusline
+8 -2
tmux/tmux.conf
··· 1 1 #use zsh as default 2 2 set-option -g default-shell /bin/zsh 3 3 #set-option -g default-shell /usr/local/bin/zsh 4 - set -g default-terminal "screen-256color" 5 - 4 + set -g default-terminal "rxvt-unicode-256color" 6 5 7 6 # List of plugins 8 7 set -g @plugin 'tmux-plugins/tpm' ··· 16 15 17 16 # set tmux theme 18 17 set -g @tmux-gruvbox 'dark' # or 'light' 18 + 19 + # Tokyionight settings 20 + # Undercurl - for tmux 21 + set -g default-terminal "${TERM}" 22 + set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support 23 + set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0 24 + 19 25 20 26 # Preserves what was readable in each pane. 21 27 set -g @resurrect-capture-pane-contents 'on'