[nvim+zsh] fix the need for resetting FZF_DEFAULT_OPTS on Ubuntu and derivatives

This commit is contained in:
Dmytro Meleshko 2021-01-29 01:37:49 +02:00
parent 1a1b27fa65
commit abde79fbf7
2 changed files with 1 additions and 3 deletions

View file

@ -147,7 +147,7 @@ endif
nnoremap <silent> <leader>f <Cmd>Files<CR> nnoremap <silent> <leader>f <Cmd>Files<CR>
nnoremap <silent> <leader>b <Cmd>Buffers<CR> nnoremap <silent> <leader>b <Cmd>Buffers<CR>
let g:fzf_layout = { 'down': '~40%' } let g:fzf_layout = { 'down': '~40%' }
let $FZF_DEFAULT_OPTS = '--preview-window=sharp' let g:fzf_preview_window = ['right:noborder', 'ctrl-/']
" }}} " }}}

View file

@ -30,6 +30,4 @@ jq_colors=(
export JQ_COLORS="${(j.:.)jq_colors}" export JQ_COLORS="${(j.:.)jq_colors}"
unset jq_colors unset jq_colors
export FZF_DEFAULT_OPTS='--preview-window=sharp'
export HOMEBREW_NO_AUTO_UPDATE=1 export HOMEBREW_NO_AUTO_UPDATE=1