This commit is contained in:
Bartek Stalewski 2020-10-17 19:55:12 +02:00
parent e495e372fb
commit e6ecd98c6d
2 changed files with 5 additions and 4 deletions

View File

@ -2,6 +2,7 @@ set runtimepath+=~/.config/vim/runtime
call plug#begin('~/.config/vim/plugins')
Plug 'ashfinal/vim-colors-paper'
Plug 'morhetz/gruvbox'
Plug 'junegunn/fzf'
Plug 'junegunn/fzf.vim'
Plug 'mhinz/vim-signify'
@ -77,19 +78,19 @@ if has("gui")
set guioptions-=L
set guifont=Hack\ Nerd\ Font\ Mono:h14
endif
colorscheme paper
colorscheme gruvbox
autocmd! User GoyoEnter Limelight
autocmd! User GoyoLeave Limelight!
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" {}']}, <bang>0)
\ call fzf#vim#files(<q-args>, {'options': ['-e', '--layout=reverse', '--preview', 'bat --color=always --style=plain --theme=gruvbox {}']}, <bang>0)
command! -bang -nargs=? -complete=dir Colors
\ call fzf#vim#colors({'options': ['-e', '--layout=reverse', '--preview', '']}, <bang>0)
let g:rainbow_active = 1
let g:terraform_fmt_on_save=1
let g:lightline = {
\ 'colorscheme': 'powerlineish',
\ 'colorscheme': 'gruvbox',
\ 'active': {
\ 'left': [ [ 'mode', 'paste' ],
\ [ 'readonly', 'filename' ] ],

View File

@ -11,7 +11,7 @@ setopt share_history
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
export FZF_DEFAULT_COMMAND='fd -H'
export FZF_CTRL_T_COMMAND='fd -H'
export FZF_DEFAULT_OPTS="-e --multi --layout=reverse --preview='bat --color=always --tabs=2 --style=plain --theme=Monokai\ Extended {}'"
export FZF_DEFAULT_OPTS="-e --multi --layout=reverse --preview='bat --color=always --tabs=2 --style=plain --theme=gruvbox {}'"
export FZF_CTRL_R_OPTS="-e --layout=reverse --preview=''"
_fzf_compgen_path() {
fd -H . "$1"