Light background

This commit is contained in:
Bartek Stalewski 2021-04-01 23:53:30 +02:00
parent 37bcd75df3
commit a8a249f050
3 changed files with 4 additions and 3 deletions

View File

@ -60,6 +60,7 @@ set t_ZH=
set t_ZR=
hi Comment cterm=italic gui=italic
hi BadWhitespace ctermbg=lightblue guibg=lightblue
set bg=light
set termguicolors
colorscheme PaperColor
hi Normal ctermbg=none guibg=none
@ -73,7 +74,7 @@ autocmd! User GoyoLeave Limelight!
let $FZF_DEFAULT_COMMAND='fd -H -L --ignore-file ~/.config/local/fd'
command! -bang -nargs=? -complete=dir Files
\ call fzf#vim#files(<q-args>, {'options': ['-e', '--layout=reverse', '--preview', 'bat --color=always --style=plain --theme=Monokai\ Extended\ Bright {}']}, <bang>0)
\ call fzf#vim#files(<q-args>, {'options': ['-e', '--layout=reverse', '--preview', 'bat --color=always --style=plain --theme=Monokai\ Extended\ Light {}']}, <bang>0)
command! -bang -nargs=? -complete=dir Colors
\ call fzf#vim#colors({'options': ['-e', '--layout=reverse', '--preview', '']}, <bang>0)

View File

@ -1,7 +1,7 @@
alias grep='grep --color'
alias less='less -r'
if [ $(command -v bat) ]; then
alias cat='/usr/local/bin/bat --color=always --tabs=2 --style plain --theme=Monokai\ Extended\ Bright'
alias cat='/usr/local/bin/bat --color=always --tabs=2 --style plain --theme=Monokai\ Extended\ Light'
fi
if [ $(command -v exa) ]; then
alias ls='exa --group-directories-first'

View File

@ -1,7 +1,7 @@
source $XDG_CONFIG_HOME/fzf/fzf.zsh
export FZF_DEFAULT_COMMAND='fd -H -L --ignore-file $XDG_CONFIG_HOME/local/fd'
export FZF_CTRL_T_COMMAND='fd -H -L --ignore-file $XDG_CONFIG_HOME/local/fd'
export FZF_DEFAULT_OPTS="--multi -e --ansi --layout=reverse --preview='bat --color=always --tabs=2 --style=plain --theme=Monokai\ Extended\ Bright {}'"
export FZF_DEFAULT_OPTS="--multi -e --ansi --layout=reverse --preview='bat --color=always --tabs=2 --style=plain --theme=Monokai\ Extended\ Light {}'"
export FZF_CTRL_R_OPTS="-e --ansi --layout=reverse --preview=''"
_fzf_compgen_path() {
fd -H -L --ignore-file $XDG_CONFIG_HOME/local/fd . "$1"