fzd.vim preview settings

This commit is contained in:
Bartek Stalewski 2020-10-15 13:59:31 +02:00
parent 8e6b4d8e71
commit 9c12b71db8
2 changed files with 4 additions and 2 deletions

View File

@ -5,7 +5,6 @@
*.swp
# config/temp files
.fzf*
.zsh*
.cups
.cache
.local
@ -15,6 +14,7 @@
.lesshst
.history
.hushlogin
.zcompdump
# git
.git*
# macOS specified

View File

@ -68,7 +68,9 @@ hi BadWhitespace ctermbg=lightblue guibg=lightblue
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 --tabs=2 --style=plain --theme="Monokai Extended" {}']}, <bang>0)
\ call fzf#vim#files(<q-args>, {'options': ['-e', '--layout=reverse', '--preview', 'bat --color always --style=plain --theme="Monokai Extended" {}']}, <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