Repro steps:
:FZFExpected: Open selected file in new buffer and switch to it.
Actual:
<trl-v,ctrl-x,ctrl-t --no-height > /var/folders/5d/wj1h61lj27j8pgsh6lyxctqc0000gn/T/nvimKFsBDv/2;#FZF 16,1 All
Error detected while processing function 7[30]..<SNR>34_callback:
line 33:
Vim(edit):E37: No write since last change (add ! to override)
Press ENTER or type command to continue
My $TERM is set to xterm-256color. I'm using iTerm. :version output:
NVIM v0.2.2
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/super/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -
DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-param
eter -Wstrict-prototypes -std=gnu99 -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINC
LUDE_GENERATED_DECLARATIONS -I/tmp/neovim-20171118-53412-9ielcr/neovim-0.2.2/build/config -I/tmp/neovim-20171118-53412-9
ielcr/neovim-0.2.2/src -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/
include -I/usr/local/include -I/usr/local/opt/gettext/include -I/usr/include -I/tmp/neovim-20171118-53412-9ielcr/neovim-
0.2.2/build/src/nvim/auto -I/tmp/neovim-20171118-53412-9ielcr/neovim-0.2.2/build/include
Compiled by [email protected]
Features: +acl +iconv +jemalloc +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/local/Cellar/neovim/0.2.2/share/nvim"
Run :checkhealth for more info
I cut my init.vim down to just this to make sure it isn't anything else interfering:
call plug#begin('~/.local/share/nvim/plugged')
Plug 'junegunn/fzf'
call plug#end()
Let me know if I can help and thanks for the awesome plugin!
You need set hidden. It's off by default.
D'oh, of course you're right - Thank you.
Most helpful comment
You need
set hidden. It's off by default.