From 640285b438b66ba98e2bfe7629155e5bf8cbcc9a Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Tue, 6 Oct 2020 13:21:15 +0100 Subject: [PATCH] VIM: Makes fzf open in a floating window rather than as a split --- nvim/.config/nvim/plugin/fzf.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nvim/.config/nvim/plugin/fzf.vim b/nvim/.config/nvim/plugin/fzf.vim index 06b8ce29..46c35010 100644 --- a/nvim/.config/nvim/plugin/fzf.vim +++ b/nvim/.config/nvim/plugin/fzf.vim @@ -1,5 +1,8 @@ " Prefixes all of the fzf commands let g:fzf_command_prefix = 'Fzf' + +let g:fzf_layout = { 'window': { 'width': 0.9, 'height': 0.8 } } + " Mappings for common Fzf commands nnoremap f = :FzfFiles nnoremap b = :FzfBuffers