From f9ed443e4a91908fa463fd534614ab463a37d589 Mon Sep 17 00:00:00 2001 From: Dmytro Meleshko Date: Wed, 4 Nov 2020 02:09:45 +0200 Subject: [PATCH] [nvim+zsh] disable the ugly fzf popup window and turn off rounded borders in the preview window --- nvim/plugin/interface.vim | 2 ++ zsh/env.zsh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/nvim/plugin/interface.vim b/nvim/plugin/interface.vim index d6817f2..cb286af 100644 --- a/nvim/plugin/interface.vim +++ b/nvim/plugin/interface.vim @@ -145,6 +145,8 @@ endif nnoremap Helptags nnoremap f Files nnoremap b Buffers + let g:fzf_layout = { 'down': '~40%' } + let $FZF_DEFAULT_OPTS = '--preview-window=sharp' " }}} diff --git a/zsh/env.zsh b/zsh/env.zsh index 07f3124..bf26bc5 100644 --- a/zsh/env.zsh +++ b/zsh/env.zsh @@ -29,3 +29,5 @@ jq_colors=( # join all values from jq_colors with a colon export JQ_COLORS="${(j.:.)jq_colors}" unset jq_colors + +export FZF_DEFAULT_OPTS='--preview-window=sharp'