Reorganize some files, add color for ls
This commit is contained in:
parent
547d795d6b
commit
0e8b985c38
@ -14,7 +14,6 @@ dotfiles_dir = "src/dotfiles"
|
|||||||
# and `target` shall be relative to $HOME directory or absolute.
|
# and `target` shall be relative to $HOME directory or absolute.
|
||||||
# You can have as many dot entry as you want, linking files or directories
|
# You can have as many dot entry as you want, linking files or directories
|
||||||
alacritty = { source = "alacritty", target = ".config/alacritty" }
|
alacritty = { source = "alacritty", target = ".config/alacritty" }
|
||||||
nvim = { source = "nvim", target = ".config/nvim" }
|
|
||||||
sway = { source = "sway", target = ".config/sway" }
|
sway = { source = "sway", target = ".config/sway" }
|
||||||
waybar = { source = "waybar", target = ".config/waybar" }
|
waybar = { source = "waybar", target = ".config/waybar" }
|
||||||
wofi = { source = "wofi", target = ".config/wofi" }
|
wofi = { source = "wofi", target = ".config/wofi" }
|
||||||
@ -22,12 +21,9 @@ wofi = { source = "wofi", target = ".config/wofi" }
|
|||||||
# zsh
|
# zsh
|
||||||
p10k = { source = "zsh/p10k.zsh", target = ".p10k.zsh" }
|
p10k = { source = "zsh/p10k.zsh", target = ".p10k.zsh" }
|
||||||
zsh = { source = "zsh/zsh", target = ".zsh", ignore = [ ".keep" ] }
|
zsh = { source = "zsh/zsh", target = ".zsh", ignore = [ ".keep" ] }
|
||||||
zsh_aliases = { source = "zsh/zsh_aliases", target = ".zsh_aliases" }
|
|
||||||
zshenv = { source = "zsh/zshenv", target = ".zshenv" }
|
zshenv = { source = "zsh/zshenv", target = ".zshenv" }
|
||||||
zshrc = { source = "zsh/zshrc", target = ".zshrc" }
|
zshrc = { source = "zsh/zshrc", target = ".zshrc" }
|
||||||
|
|
||||||
# vim
|
# vim
|
||||||
|
nvim = { source = "nvim", target = ".config/nvim" }
|
||||||
vimrc = { source = "vim/vimrc", target = ".vimrc" }
|
vimrc = { source = "vim/vimrc", target = ".vimrc" }
|
||||||
vimrc_colors = { source = "vim/vimrc.colors", target = ".vimrc.colors" }
|
|
||||||
vimrc_lightline = { source = "vim/vimrc.lightline", target = ".vimrc.lightline" }
|
|
||||||
vimrc_plugins = { source = "vim/vimrc.plugins", target = ".vimrc.plugins" }
|
|
||||||
|
@ -18,6 +18,11 @@ function! s:sonokai_custom() abort
|
|||||||
call sonokai#highlight('SignColumn', l:palette.fg, l:palette.bg1)
|
call sonokai#highlight('SignColumn', l:palette.fg, l:palette.bg1)
|
||||||
call sonokai#highlight('VertSplit', l:palette.bg1, l:palette.none)
|
call sonokai#highlight('VertSplit', l:palette.bg1, l:palette.none)
|
||||||
call sonokai#highlight('Terminal', l:palette.fg, l:palette.bg1)
|
call sonokai#highlight('Terminal', l:palette.fg, l:palette.bg1)
|
||||||
|
"call sonokai#highlight('CocGitAddedSign', l:palette.fg, l:palette.bg1)
|
||||||
|
"call sonokai#highlight('CocGitChangedSign', l:palette.fg, l:palette.bg1)
|
||||||
|
"call sonokai#highlight('CocGitRemovedSign', l:palette.fg, l:palette.bg1)
|
||||||
|
"call sonokai#highlight('CocGitTopRemovedSign', l:palette.fg, l:palette.bg1)
|
||||||
|
"call sonokai#highlight('CocGitChangeRemovedSign', l:palette.fg, l:palette.bg1)
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
augroup CustomColors
|
augroup CustomColors
|
12
vim/vimrc
12
vim/vimrc
@ -68,19 +68,19 @@ endfunction
|
|||||||
|
|
||||||
" Plugins
|
" Plugins
|
||||||
call plug#begin('~/.vim/plugged')
|
call plug#begin('~/.vim/plugged')
|
||||||
if filereadable(expand("~/.vimrc.plugins"))
|
if filereadable(expand("~/.config/nvim/plugins"))
|
||||||
source ~/.vimrc.plugins
|
source ~/.config/nvim/plugins
|
||||||
endif
|
endif
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
" Lightline setup
|
" Lightline setup
|
||||||
if filereadable(expand("~/.vimrc.lightline"))
|
if filereadable(expand("~/.config/nvim/lightline"))
|
||||||
source ~/.vimrc.lightline
|
source ~/.config/nvim/lightline
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Color setup
|
" Color setup
|
||||||
if filereadable(expand("~/.vimrc.colors"))
|
if filereadable(expand("~/.config/nvim/colors"))
|
||||||
source ~/.vimrc.colors
|
source ~/.config/nvim/colors
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Set secure AFTER any other rc importing
|
" Set secure AFTER any other rc importing
|
||||||
|
2
zsh/zsh/aliases
Normal file
2
zsh/zsh/aliases
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
alias e="$EDITOR"
|
||||||
|
alias ls="ls --color"
|
@ -1 +0,0 @@
|
|||||||
alias e="$EDITOR"
|
|
@ -20,7 +20,7 @@ fi
|
|||||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||||
|
|
||||||
# Custom aliases
|
# Custom aliases
|
||||||
[[ ! -f ~/.zsh_aliases ]] || source ~/.zsh_aliases
|
[[ ! -f ~/.zsh/aliases ]] || source ~/.zsh/aliases
|
||||||
|
|
||||||
export NVM_DIR="$HOME/.nvm"
|
export NVM_DIR="$HOME/.nvm"
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user