From 9c12b71db82306cd73ee0f00963068e3dc9c9516 Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Thu, 15 Oct 2020 13:59:31 +0200 Subject: [PATCH] fzd.vim preview settings --- conf/fdignore | 2 +- vim/init.vim | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/conf/fdignore b/conf/fdignore index 69dbb25..530e168 100644 --- a/conf/fdignore +++ b/conf/fdignore @@ -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 diff --git a/vim/init.vim b/vim/init.vim index 7f7cffb..8150b24 100644 --- a/vim/init.vim +++ b/vim/init.vim @@ -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(, {'options': ['-e', '--layout=reverse', '--preview', 'bat --color=always --tabs=2 --style=plain --theme="Monokai Extended" {}']}, 0) + \ call fzf#vim#files(, {'options': ['-e', '--layout=reverse', '--preview', 'bat --color always --style=plain --theme="Monokai Extended" {}']}, 0) +command! -bang -nargs=? -complete=dir Colors + \ call fzf#vim#colors({'options': ['-e', '--layout=reverse', '--preview', '']}, 0) let g:rainbow_active = 1 let g:terraform_fmt_on_save=1